CVE-2019-17383

The netaddr gem before 2.0.4 for Ruby has misconfigured file permissions, such that a gem install may result in 0777 permissions in the target filesystem

published October 9, 2019

CVSS
โ€”
EPSS
2%
Percentile
83.6
In the wild
Unconfirmed
What it is

โš ๏ธ Attention, Ruby developers! A misconfiguration in the netaddr gem could leave your filesystem wide open with permissions set to 0777, like a welcome mat for local attackers! ๐Ÿ”ฅ Think of it as a restaurant leaving its kitchen door unlocked, allowing anyone to walk in and mess with the ingredients โ€” an open invitation to trouble! If an attacker accesses your system with these permissions, they could read, modify, or even delete files at will. This could lead to data breaches or loss of critical information, making the stakes alarmingly high for anyone using this gem!

Put simply

Think of it as a restaurant leaving its kitchen door unlocked, allowing anyone to walk in and mess with the ingredients โ€” an open invitation to trouble! The netaddr gem prior to version 2.0.4 has a flaw in file permission settings during installation, allowing files to be created with 0777 permissions, which grants all users full access rights. This essentially compromises security for applications relying on this gem.

What to do

If an attacker accesses your system with these permissions, they could read, modify, or even delete files at will. This could lead to data breaches or loss of critical information, making the stakes alarmingly high for anyone using this gem! Upgrade the netaddr gem to version 2.0.4 or later immediately to rectify this misconfiguration. After upgrading, audit your filesystem permissions to ensure no files were unintentionally set with 0777 permissions. You've got this! With a quick upgrade, you'll secure your system and keep it safe from prying eyes. ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02351 ยท 83.6th percentile
Published
2019-10-09T14:54Z
EPSS history
Timeline
  • 09 OCT 14:54Z
    The netaddr gem before 2.0.4 for Ruby has misconfigured file permissions, such that a gem install may result in 0777 permissions in the target filesystem
    cvelistv5