VYPR
High severityNVD Advisory· Published Jun 6, 2019· Updated Aug 4, 2024

CVE-2019-8320

CVE-2019-8320

Description

A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
rubygems-updateRubyGems
>= 2.7.6, < 2.7.92.7.9
rubygems-updateRubyGems
>= 3.0.0, < 3.0.33.0.3

Affected products

29

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.