bdmac/strong_password · Security
strong_password Ruby gem malicious version causing Remote Code Execution vulnerability
- GHSA ID
- GHSA-5h5r-ffc4-c455
- CVE ID
- CVE-2019-13354
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The strong_password gem 0.0.7 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. Version 0.0.8 does not contain the backdoor.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-13354 ↗
- https://rubygems.org/gems/strong_password/versions ↗
- https://withatwist.dev/strong-password-rubygem-hijacked.html ↗
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7/ ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/strong_password/CVE-2019-13354.yml ↗
- https://github.com/bdmac/strong_password/releases ↗
- https://github.com/advisories/GHSA-5h5r-ffc4-c455 ↗