Repository navigation
fix(docker): overlay npm's bundled ip-address with 10.7.4 (GHSA-rxp7-6hxx-x8q5) - #18085
Merged
diegosouzapw merged 1 commit intoOct 25, 2026
Merged
Conversation
Contributor
CI Coverage Report
Coverage artifact was not available for this run. |
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.
Summary
The base image overlays patched copies of npm's own bundled packages, because the container scanner reads
/usr/local/lib/node_modules/npm/node_modules. That overlay still installsip-address@10.7.3, which falls inside the range affected by GHSA-rxp7-6hxx-x8q5 (quadratic zone-identifier match inAddress6, affects <= 10.7.3).This PR moves the overlay to
ip-address@10.7.4. The new version is still withinsocks's^10.1.1range. It also raises the floor intests/unit/dockerfile-npm-bundled-cve-patch.test.ts, so a future edit cannot drop the overlay below the patched version.This complements #18066 / #18067, which bump the application's own
ip-address(Dependabot #329) but do not touch theDockerfile. It does not overlap them.Validation
tests/unit/dockerfile-npm-bundled-cve-patch.test.ts:Dockerfile(10.7.3): 4 pass, 1 fail (the new floor);eslint(with suppressions) andprettier --checkare clean on the test file. The image build itself is left to the Docker workflow in CI.