Skip to content

Release v12.9.2

Choose a tag to compare

@prabhu prabhu released this 13 Nov 12:53
fbe21f5

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.json could 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 of CHEN_IGNORE_DIRS, and treats evidence as an operator-only option.

Upgrade notes

  • A .cdxgen.json or .cdxgenrc can no longer turn on evidence. Pass --evidence, or --profile/--technique on the command line (or their CDXGEN_ 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 latest tag; use v12 or 12.9.2.

The issues were found by Anthropic's OSS Scanner (scan cdxgen-20261108-009).

Full Changelog: v12.9.1...v12.9.2