Ubuntu CVE Tracker
UBUNTU-CVE-2017-0903
Details
RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to a possible remote code execution vulnerability. YAML deserialization of gem specifications can bypass class white lists. Specially crafted serialized objects can possibly be used to escalate to remote code execution.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | ruby2.0 | All versions before 2.0.0.484-1ubuntu2.10 (fixed in 2.0.0.484-1ubuntu2.10) |
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~16.04.6 (fixed in 2.3.1-2~16.04.6) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2017-0903
- http://blog.rubygems.org/2017/10/09/2.6.14-released.html
- http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html
- https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49
- https://hackerone.com/reports/274990
- https://ubuntu.com/security/notices/USN-3553-1
- https://ubuntu.com/security/notices/USN-3685-1
- https://ubuntu.com/security/notices/USN-3685-2
- https://www.cve.org/CVERecord?id=CVE-2017-0903