Repository navigation
fix: upgrade tar to 7.5.19 (CVE-2026-59873) #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
anupamme
wants to merge
1
commit into
burnjohn:main
from
anupamme:fix-repo-quick-blog-cve-2026-59873-tar
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🌐 Web query:
site:docs.npmjs.com package.json overrides "." direct dependency nested override💡 Result:
In npm, the overrides field in your root package.json allows you to replace a package in your dependency tree with a specific version or a different package entirely [1][2]. Direct Dependency Constraints: You cannot set an override for a package that you directly depend on unless the override spec matches your direct dependency spec exactly [1][3]. Attempting to override a direct dependency to a different version will result in an EOVERRIDE error [1][4]. To bypass this restriction or ensure consistency, you can use a reference to your direct dependency's spec by prefixing the package name with a '$' [1][4]. For example: { "dependencies": { "foo": "^1.0.0" }, "overrides": { "foo": "$foo" } } Nested Overrides: The overrides field supports nested definitions to target specific paths in your dependency tree [1][3]. You can define overrides at any arbitrary depth by nesting keys [5][6]. For example, to override foo to 1.0.0 only when it is a dependency of bar, which is in turn a dependency of baz: { "overrides": { "baz": { "bar": { "foo": "1.0.0" } } } } Important Considerations: - Root Level Only: Overrides are only considered in the root package.json file of your project [1][2]. Overrides defined in dependencies or workspaces are ignored [1][5]. - Specificity: You can target dependencies with specific version ranges in your override keys (e.g., "bar@2.0.0": { "foo": "1.0.0" }) to apply the change only when that specific version of the parent is present [3][6].
Citations:
🏁 Script executed:
Repository: burnjohn/quick-blog
Length of output: 1012
Security Misconfiguration
CWE: CWE-16
Use a global
taroverride.The lockfile currently contains one
tarcopy at7.5.21. However,"tar": { "tar": "7.5.21" }does not overridetaritself and may not protect future dependency resolutions.🤖 Prompt for AI Agents