Repository navigation
Release v12.9.2
This 12.x maintenance release backports the fixes for two critical security advisories from 13.8.0. Users who can move to @cdxgen/cdxgen 13.8.0 get these fixes along with the high and medium severity fixes that are not backported to 12.x.
Security
- GHSA-72jc-54pr-qq5w: a crafted Electron ASAR archive could make cdxgen create or overwrite files outside its temporary extraction directory. Extraction now checks every parent directory with
lstat, never writes through an existing link or over an existing file, and rejects entry names that are not well-formed UTF-16. - GHSA-mh5c-4cv8-gh6c: paths and names from a scanned repository's
.cdxgen.jsoncould reach the shell command lines that atom 2.5.6 builds. cdxgen now skips endpoint extraction and the Ruby slice when such a value contains shell syntax, keeps those names out ofCHEN_IGNORE_DIRS, and treatsevidenceas an operator-only option.
Upgrade notes
- A
.cdxgen.jsonor.cdxgenrccan no longer turn on evidence. Pass--evidence, or--profile/--techniqueon the command line (or theirCDXGEN_variables). - Endpoint extraction is skipped with a warning, and the Ruby slice is not produced, when a path or name that atom puts into a shell command line holds a space or shell syntax.
- ASAR archives with lone UTF-16 surrogates in entry names are rejected, and an entry whose path collides with an earlier one on disk is skipped.
- Container images built for 12.x releases no longer receive the
latesttag; usev12or12.9.2.
The issues were found by Anthropic's OSS Scanner (scan cdxgen-20261108-009).
Full Changelog: v12.9.1...v12.9.2