[3.12] gh-157190: Fix tarfile data/tar filter bypass via hard link to a symlink (GH-157191) (GH-157192) - #157454
Open
StanFromIreland wants to merge 1 commit into
Open
StanFromIreland wants to merge 1 commit into
StanFromIreland wants to merge 1 commit into
Conversation
…rd link to a symlink (pythonGH-157191) (pythonGH-157192) (cherry picked from commit 480ea4a) The backport to 3.13 and below includes a NEWS entry. (cherry picked from commit b8f23e3) Co-authored-by: Stan Ulbrych <stan@python.org>
cesararroba
added a commit
to prowler-cloud/prowler
that referenced
this pull request
Sep 21, 2026
… MCP lock Touching api/ woke the API container gate, and Grype (not Trivy) blocks on CVE-2026-82049, HIGH, in the CPython 3.12.13 interpreter of the base image. The SDK image shares the base and fails the same way. It is pre-existing on master, not caused by the anyio bump. There is no fixed CPython release on any branch: the fix is merged on main and 3.13 only, the 3.12 backport is still open: python/cpython#157454 Grype records 3.14.0b1 as the fix, so only-fixed does not drop it, and python:3.12.14-slim-trixie reports it too, so a base image bump does not help. Upstream issue: python/cpython#157190 Exposure: the CVE is a tarfile extraction-filter bypass. Prowler never extracts tar archives to disk; the only first-party tarfile use (ECR image inspection) reads members in memory with extractfile(). Changing .grype.yaml wakes the MCP and UI container gates too, and the MCP lock still carried anyio 4.13.0, so it is bumped here to 4.14.2 (lock only, anyio is transitive there). The lock change is byte-identical to dependabot's #12844, which this supersedes. Verified with Grype 0.116.1 (the CI version), --only-fixed --by-cve, against python:3.12.13-slim-trixie: master's .grype.yaml reports CVE-2026-82049 on python, the updated one reports no High/Critical python findings.
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(cherry picked from commit 480ea4a) The backport to 3.13 and below includes a NEWS entry.
data/tarfilter bypass via hard link to a symlink #157190