Lucene search

K
githubGitHub Advisory DatabaseGHSA-RP2V-V467-Q9VQ
HistoryDec 02, 2022 - 10:25 p.m.

GuardDog vulnerable to arbitrary file write when scanning a specially-crafted PyPI package

2022-12-0222:25:25
CWE-22
CWE-23
GitHub Advisory Database
github.com
8
guarddog
vulnerability
path traversal
pypi
package scanning

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

26.6%

Impact

Running GuardDog against a specially-crafted package can allow an attacker to write an arbitrary file on the machine where GuardDog is executed.

This is due to a path traversal vulnerability when extracting the .tar.gz file of the package being scanned, which exists by design in the tarfile.TarFile.extractall function. See also https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall

Remediation

Upgrade to GuardDog v0.1.5 or more recent.

References

Affected configurations

Vulners
Node
datadogguarddogRange<0.1.5
CPENameOperatorVersion
guarddoglt0.1.5

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

26.6%

Related for GHSA-RP2V-V467-Q9VQ