CVE-2018-16396
HIGH 8.1CVSS 3.0An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.
- Published
- 16 Nov 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
>= 2.3.0, <= 2.3.7 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
>= 2.4.0, <= 2.4.4 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
>= 2.5.0, <= 2.5.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* |
= 18.10 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* |
= 7.6 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- http://www.securitytracker.com/id/1042106 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3729 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3730 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3731 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2028
- https://hackerone.com/reports/385070 · Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/10/msg00020.html · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190221-0002/ · Third Party Advisory
- https://usn.ubuntu.com/3808-1/ · Third Party Advisory
- https://www.debian.org/security/2018/dsa-4332 · Third Party Advisory
- https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/ · Vendor Advisory
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/ · Release Notes
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/ · Release Notes
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/ · Release Notes
- https://www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/ · Release Notes
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 16 Nov 2018)