File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ gem : rubyzip
3+ cve : 2026-85396
4+ ghsa : 47m2-wp7j-p9vc
5+ url : https://nvd.nist.gov/vuln/detail/CVE-2026-85396
6+ title : path traversal vulnerability in pre-3.4.0 rubyzip gem
7+ date : 2026-09-03
8+ description : |
9+ rubyzip versions before 3.4.0 contain a path traversal vulnerability
10+ in Zip::Entry#extract that fails to properly validate extraction
11+ paths using prefix comparison without trailing separators. Attackers
12+ can craft archive entries with names like ../upload_backup/owned.sh
13+ to write files outside the intended extraction directory into
14+ sibling paths sharing the destination prefix.
15+ cvss_v3 : 7.5
16+ cvss_v4 : 8.7
17+ patched_versions :
18+ - " >= 3.4.0"
19+ related :
20+ url :
21+ - https://nvd.nist.gov/vuln/detail/CVE-2026-85396
22+ - https://rubygems.org/gems/rubyzip/versions/3.4.0
23+ - https://github.com/rubyzip/rubyzip/releases/tag/v3.4.0
24+ - https://github.com/rubyzip/rubyzip/blob/v3.4.0/Changelog.md#340-2026-06-14
25+ - https://github.com/rubyzip/rubyzip/commit/17edfbf4423b83211b075acc23a7d8640da63449
26+ - https://github.com/rubyzip/rubyzip/blob/v3.3.1/lib/zip/entry.rb
27+ - https://github.com/geo-chen/oss/blob/main/rubyzip.md
28+ - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-70673
29+ - https://www.vulncheck.com/advisories/rubyzip-before-3.4.0-path-traversal-in-zip-entry-extract-via-sibling-directory-prefix
30+ - https://github.com/advisories/GHSA-47m2-wp7j-p9vc
31+ notes : |
32+ - cvss_v4 from GHSA and nvd.nist.gov URLs.
33+ - cvss_v3 from nvd.nist.gov URL.
Original file line number Diff line number Diff line change @@ -285,3 +285,16 @@ rm -f gems/kobako/CVE-2026-55107.yml
285285# safemode | https://github.com/advisories/GHSA-8474-rc7c-wrhp (withdrawn)
286286# spree_auth_devise | https://github.com/advisories/GHSA-6mqr-q86q-6gwr (withdrawn)
287287# web-console | https://github.com/advisories/GHSA-82x2-g7vr-39wq (withdrawn)
288+
289+ # 9/4/2026: Use GHSA prefix over CVE.
290+ rm -f gems/mail/CVE-2026-63435.yml
291+ rm -f gems/nokogiri/CVE-2026-79770.yml
292+ rm -f gems/nokogiri/CVE-2026-79771.yml
293+ rm -f gems/nokogiri/CVE-2026-79772.yml
294+
295+ # 9/4/2026: More duplicates and withdrawns
296+ # nokogiri | https://github.com/advisories/GHSA-5jhf-fpp7-v2pv (duplicate)
297+ # nokogiri | https://github.com/advisories/GHSA-xqqh-3w52-q8p7 (duplicate)
298+ # nokogiri | https://github.com/advisories/GHSA-rh9x-7xjc-vwx2 (duplicate)
299+ # paperclip | https://github.com/advisories/GHSA-phmw-pv3f-vvx7 (withdrawn)
300+ # sprockets | https://github.com/advisories/GHSA-r4x3-g983-9g48 (withdrawn)
You can’t perform that action at this time.
0 commit comments