HighGHSA-98wx-cw86-c97xCVE-2017-1000026

mixlib-archive Path Traversal vulnerability

Published 13 May 2022 · Updated 8 Nov 2023

Is your project on an affected mixlib-archive?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<0.4.0
Fixed in
0.4.0
Update to the fixed version for your release line, for example:bundle update --conservative mixlib-archive # Gemfile: '>= 0.4.0'

Details

Chef Software's mixlib-archive versions 0.3.0 and older are vulnerable to a directory traversal attack allowing attackers to overwrite arbitrary files by using .. in tar archive entries

Is GHSA-98wx-cw86-c97x in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected mixlib-archive, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.