Skip to content

Commit 8c62497

Browse files
benbrassoclaude
andauthored
fix: ignore CVE-2026-119170 for Python 3.14.10 in Grype scan (#1338)
## Summary The Anchore/Grype scan fails on a High finding against the Python runtime in our base image: | Package | Installed | Fixed in | Vulnerability | Severity | |---|---|---|---|---| | python | 3.14.10 | 3.14.11 | CVE-2026-119170 | High | The fix ships in Python 3.14.11, but there is no `python:3.14-slim` image for it yet (Docker Hub's latest is 3.14.10), so the base image can't be upgraded. This adds a temporary `.grype.yml` exception: - **Limited to `python` 3.14.10 (binary).** It stops matching once the base image moves to 3.14.11, so a stale entry can't hide a later regression. - **Low real-world exposure.** The issue is a hashlib FIPS enforcement regression that only applies when OpenSSL runs in FIPS mode, which our images do not enable. Advisory: python/cpython#160923 - **Copies simpler-grants-gov's entry** for the same CVE (tracked in HHS/simpler-grants-gov#8109), as the file header asks. CVE-2026-103995 (Low, fixed only in 3.16.0) also appears in the scan output. It is below the `medium` fail threshold, so it needs no change. Remove this entry once `python:3.14-slim` ships 3.14.11 or later and the scan passes without it. ## Test plan - [ ] Anchore scan passes on this PR - Confirmed `.grype.yml` parses and the new entry is limited to `python` 3.14.10 (binary) ## UI evidence No UI changes. ## Checklist - [x] Documentation follows the placement rules (or no documentation changes). - [ ] Tests pass locally (`make test`) - [x] Editor Tasks reviewed: no update needed. This only changes CI scan config. - [x] No import rule changes. Co-authored-by: Claude <[email protected]>
1 parent bdf93d4 commit 8c62497

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎.grype.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ ignore:
3636
version: "3.14.10"
3737
type: binary
3838

39+
# CPython hashlib FIPS enforcement regression; only 3.14.10 and only with
40+
# OpenSSL in FIPS mode (not enabled in our images).
41+
# Fixed in 3.14.11, which has no python:3.14-slim image yet. Remove once
42+
# python:3.14-slim ships 3.14.11 or later and the scan passes without this entry.
43+
# Mirrors the entry in HHS/simpler-grants-gov .grype.yml.
44+
# Advisory: https://github.com/python/cpython/issues/160923
45+
# https://github.com/HHS/simpler-grants-gov/issues/8109
46+
# Last checked: 11/12/2026
47+
- vulnerability: CVE-2026-119170
48+
package:
49+
name: python
50+
version: "3.14.10"
51+
type: binary
52+
3953
# Not fixed in GA Python yet
4054
# https://github.com/HHS/simpler-grants-gov/issues/8109
4155
# Last checked: 05/13/26

0 commit comments

Comments
 (0)