diff --git a/build/grype.yaml b/build/grype.yaml index 47f7f1e..0a8904f 100644 --- a/build/grype.yaml +++ b/build/grype.yaml @@ -17,6 +17,29 @@ check-for-app-update: false # party can rebuild: kept here, listed by the report with what nobody has fixed, until a release # of theirs built after the fix. Each rule names the file, the vulnerability and the reason. ignore: + # vsce-sign, the .NET binary VS Code bundles to check an extension's signature as it installs, + # embeds System.Security.Cryptography.Pkcs 9.0.5: CVE-2026-84008's quadratic CPU use in + # SignedCms.CheckSignature over X.509 data the signature carries (2026-10-13, fixed in 9.0.21), + # and GHSA-2fmv-rv2c-59x7 beside it; the exposure is the CPU of a signature check on an + # extension a person installs. VS Code 1.148.0's vsce-sign runs on 9.0.23, past the fix, but its + # workbench draws three primary accents where the look allows one (task test's code-workbench), + # so recipes/code stays at 1.145.2 until the theme or the image's VS Code defaults answer that. + # Drop the rules with that bump (strings vsce-sign | grep '^9\.0\.' says its runtime). The + # rules name the assembly, its version and type, not the file: the watch scans the release's + # SBOM, which records no location for an assembly a binary embeds, and a rule with one never applied there (issue #17). + - vulnerability: GHSA-846f-f764-76mx + reason: "VS Code 1.148.0 carries the fix; recipes/code waits at 1.145.2 on its workbench's look" + package: + name: System.Security.Cryptography.Pkcs + version: 9.0.5 + type: dotnet + - vulnerability: GHSA-2fmv-rv2c-59x7 + reason: "VS Code 1.148.0 carries the fix; recipes/code waits at 1.145.2 on its workbench's look" + package: + name: System.Security.Cryptography.Pkcs + version: 9.0.5 + type: dotnet + # A fix a recipe carries from its upstream's branch at a version Wolfi's feed does not know: # the feed names the Wolfi build that fixed it, and a recipe below that build is flagged though # it holds the same fix. Each rule names the recipe's build, so it lapses at the next one. diff --git a/image/apko.lock.yaml b/image/apko.lock.yaml index ee5067d..3dc5e5a 100644 --- a/image/apko.lock.yaml +++ b/image/apko.lock.yaml @@ -22,7 +22,7 @@ contents: - bluez-doc=5.88-r1 - bolt=0.9.11-r1 - ccid=1.8.4-r0 - - code=1.148.0-r0 + - code=1.145.2-r0 - colord=1.4.8-r0 - colord-gtk=0.3.1-r0 - construct-brand=0_git20261005-r5 diff --git a/recipes/code.yaml b/recipes/code.yaml index 0e23775..c4f753b 100644 --- a/recipes/code.yaml +++ b/recipes/code.yaml @@ -3,9 +3,10 @@ # carries (Dev Containers, Remote, Copilot). Repackaged from the official tarball, pinned by its # SHA-256 (update.code.visualstudio.com/api/update/linux-x64/stable/latest). It updates with the # image's releases: the tarball cannot update itself. Its license is Microsoft's, not open. +# 1.148.0 waits on its workbench's look (build/grype.yaml, issue #17 say why and what it fixes). package: name: code - version: 1.148.0 + version: 1.145.2 epoch: 0 description: Visual Studio Code, Microsoft's build copyright: @@ -29,7 +30,7 @@ pipeline: - uses: fetch with: uri: https://update.code.visualstudio.com/${{package.version}}/linux-x64/stable - expected-sha256: 7acdaf01a1d7a27c55828156ec3fdbe75b8e0809070fecd10de022c4982a0f16 + expected-sha256: 3b01286639fa026fd860944b811d418f7b93bc5dc447d9e607b0cd1377cfbaa2 extract: false # chrome-sandbox, setuid root in the tarball, loses the bit: Electron sandboxes with user