CVE-2019-13354
strong_password Ruby gem malicious version causing Remote Code Execution vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB.
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. The current version, without this backdoor, is 0.0.6.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | strong_password | 0.0.8 |
| rubygems::Ruby Advisory Database | strong_password | >= 0.0.8 |
References
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7/
- https://github.com/bdmac/strong_password
- https://github.com/bdmac/strong_password/releases
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/strong_password/CVE-2019-13354.yml
- https://nvd.nist.gov/vuln/detail/CVE-2019-13354
- https://rubygems.org/gems/strong_password/versions
- https://withatwist.dev/strong-password-rubygem-hijacked.html