Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. netaddr
  4. ›
  5. CVE-2019-17383

CVE-2019-17383: netaddr before 1.5.3 and 2.0.4 has Incorrect Default Permissions

October 14, 2019 (updated October 23, 2024)

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

References

  • github.com/advisories/GHSA-49pj-69vf-c689
  • github.com/dspinhirne/netaddr-rb
  • github.com/dspinhirne/netaddr-rb/commit/3aac46c00a36e71905eaa619cb94d45bff6e3b51
  • github.com/dspinhirne/netaddr-rb/commit/c7a7de39b7e1126aef11821f98970db18582948b
  • github.com/dspinhirne/netaddr-rb/issues/29
  • github.com/dspinhirne/netaddr-rb/pull/20
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/netaddr/CVE-2019-17383.yml
  • nvd.nist.gov/vuln/detail/CVE-2019-17383
  • rubygems.org/gems/netaddr/versions

Code Behaviors & Features

Detect and mitigate CVE-2019-17383 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.3, all versions starting from 2.0.0 before 2.0.4

Fixed versions

  • 2.0.4
  • 1.5.3

Solution

Upgrade to versions 1.5.3, 2.0.4 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

gem/netaddr/CVE-2019-17383.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.