Description
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by remote code execution via crafted markdown_extensions in techdocs mkdocs.yml. An authenticated user who can register catalog entities can provide a crafted mkdocs.yml causing arbitrary OS command execution on the TechDocs build host when the docs are built. This issue is fixed in versions 1.14.6 and 1.15.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| backstage | backstage | < 1.50.5, >= 1.51.0-next.0, < 1.54.6 | — |
| @backstage | plugin-techdocs-node | < 1.14.6, >= 1.15.0, < 1.15.4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @backstage/plugin-techdocs-node | < 1.15.4 | 1.15.4 | GHSA-4488-j8vj-vqqv |
References
- https://github.com/backstage/backstage/security/advisories/GHSA-4488-j8vj-vqqv
- https://github.com/backstage/backstage/commit/02cd7cdbb18b687446277b5602adaee7f1d53cbb
- https://github.com/backstage/backstage/commit/a900a9953c8f7ad3ba1906d1d257725a9996cc9d
- https://github.com/backstage/backstage/releases/tag/v1.50.5
- https://github.com/backstage/backstage/releases/tag/v1.54.6