Skip to content
Fencer Intel
critical 9.1

CVE-2018-25046 json

Path traversal in code.cloudfoundry.org/archiver

published 5y ago modified 4mo ago also GHSA-32qh-8vg6-9g43 , GO-2020-0025 , EUVD-2022-7478

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Patch / fix

  • go github.com/cloudfoundry/archiver 0.0.0-20180523222229-09b5706aa936
  • go code.cloudfoundry.org/archiver 0.0.0-20180523222229-09b5706aa936
  • code.cloudfoundry.org/archiver code.cloudfoundry.org/archiver/extractor 0.0.0-20180523222229-09b5706aa936

Is CVE-2018-25046 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-25046 updated cvss 9.1

cloudfoundry/archiver: improper path sanitization can result in files being extracted outside of the target directory

  • Red Hat Quay 3 quay/quay-builder-rhel8
    affected: no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

1.29% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/cloudfoundry/archiver
<0.0.0-20180523222229-09b5706aa936
0.0.0-20180523222229-09b5706aa936
go code.cloudfoundry.org/archiver
<0.0.0-20180523222229-09b5706aa936
0.0.0-20180523222229-09b5706aa936

Affected products

  • code.cloudfoundry.org/archiver code.cloudfoundry.org/archiver/extractor

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.