# CVE-2018-1002207: GO-2022-0799 - Arbitrary File Write via Archive Extraction in mholt/archiver in github.com/mholt/archiver

Source: https://junglewise.ai/threats/cve-2018-1002207-arbitrary-file-write-via-archive-extraction-in-mholt-archiver  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2018-1002207 · Severity: low · CVSS 3 · Published 2024-08-21

Arbitrary File Write via Archive Extraction in mholt/archiver in github.com/mholt/archiver

Technologies: [github.com/mholt/archiver (Go)](https://junglewise.ai/threats/technologies/github-com-mholt-archiver). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2018-1002207 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1002207 being exploited in the wild.

**How severe is CVE-2018-1002207?** Low severity, with a CVSS score of 3, published 21 August 2024.

**Which products and versions are affected?** github.com/mholt/archiver (Go) SEMVER:introduced=0,fixed=2.1.0, SEMVER:introduced=0,fixed=2.1.0+incompatible.

**Is there a fix for CVE-2018-1002207?** Yes. github.com/mholt/archiver (Go): upgrade to 2.1.0, 2.1.0+incompatible or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1002207?** Check whether you run github.com/mholt/archiver (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/mholt/archiver (Go): upgrade to 2.1.0, 2.1.0+incompatible or later

  ```sh
  go get github.com/mholt/archiver@v2.1.0+incompatible
  ```


## Affected products

- github.com/mholt/archiver (Go) SEMVER:introduced=0,fixed=2.1.0, SEMVER:introduced=0,fixed=2.1.0+incompatible

## Identifiers

- CVE-2018-1002207
- GHSA-5wmg-j84w-4jj4
- GO-2022-0799

## Related threats

- [GO-2025-3605 - Vulnerable to Path Traversal via Crafted ZIP File in github.com/mholt/archiver](https://junglewise.ai/threats/cve-2025-3445-mholt-archiver-vulnerable-to-path-traversal-via-crafted-zip-file)
- [GO-2024-2698 - Archiver Path Traversal vulnerability in github.com/mholt/archiver](https://junglewise.ai/threats/cve-2024-0406-archiver-path-traversal-vulnerability)
- [Path Traversal in MHolt Archiver](https://junglewise.ai/threats/cve-2019-10743-path-traversal-in-mholt-archiver)
