app-prd / intentionally-vulnerable-golang-project

This is a project we created that has dependencies with vulnerabilities, for us to test out nancy
0 stars 0 forks source link

github.com/unknwon/cae/zip-55a0b64484a12115b7322b9eed01e2c26113061d: 1 vulnerabilities (highest severity is: 7.5) #11

Open mend-for-github-com[bot] opened 7 months ago

mend-for-github-com[bot] commented 7 months ago
Vulnerable Library - github.com/unknwon/cae/zip-55a0b64484a12115b7322b9eed01e2c26113061d

Package cae implements PHP-like Compression and Archive Extensions.

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/unknwon/cae/zip version) Remediation Possible**
CVE-2020-7664 High 7.5 github.com/unknwon/cae/zip-55a0b64484a12115b7322b9eed01e2c26113061d Direct v1.0.1

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-7664 ### Vulnerable Library - github.com/unknwon/cae/zip-55a0b64484a12115b7322b9eed01e2c26113061d

Package cae implements PHP-like Compression and Archive Extensions.

Dependency Hierarchy: - :x: **github.com/unknwon/cae/zip-55a0b64484a12115b7322b9eed01e2c26113061d** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

In all versions of the package github.com/unknwon/cae/zip, the ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide.

Publish Date: 2020-06-17

URL: CVE-2020-7664

### CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2020-7664

Release Date: 2020-07-07

Fix Resolution: v1.0.1