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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
backstage backstage
< 1.50.5affected>= 1.51.0-next.0, < 1.54.6affected
@backstage plugin-techdocs-node
< 1.14.6affected>= 1.15.0, < 1.15.4affected
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 ↗