Description
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by configuration bypass in techdocs mkdocs.yml sanitization. Insufficient validation of MkDocs configuration during TechDocs generation could allow an authenticated user who can register or modify documentation sources to execute arbitrary commands in the build environment. Impact is limited to resources accessible to the TechDocs backend or build container. 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-g2hj-v2j6-vfvg ↗
- https://github.com/backstage/backstage/commit/25125ee727a3de3418a8fa6a9e458cd5b73ecf26 ↗
- https://github.com/backstage/backstage/commit/b6d1aea0bef99b8dfec3c8746032474867ba677a ↗
- https://github.com/backstage/backstage/releases/tag/v1.50.5 ↗
- https://github.com/backstage/backstage/releases/tag/v1.54.6 ↗