CVE-2017-16516: USN-9397-1: yajl-ruby vulnerabilities
Vulnerability · Reported by Ubuntu Security Notices · · CWE-134
- Severity
- High Risk score 75/100
- CVSS
- 7.5 v3.1 · from NVD
- Exploit chance (EPSS)
- 3.77% Higher than 90% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
It was discovered that YAJL, vendored in yajl-ruby, was not properly performing bounds checks when decoding a string with escape sequences. If a user or automated system using yajl-ruby were tricked into processing specially crafted input, an attacker could possibly use this issue to cause a denial of service (application abort). (CVE-2017-16516) It was discovered that YAJL, vendored in yajl-ruby, was not properly handling memory allocation when dealing with large inputs, which could lead to heap memory corruption. If a user or automated system using yajl-ruby were tricked into running a specially crafted large input, an attacker could possibly use this issue to cause a denial of service. (CVE-2022-24795)
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could crash or disrupt the service.
Is it being exploited?
The EPSS model estimates a 3.77% chance this CVE will be exploited in the next 30 days, which is elevated and higher than 90% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Tags
CVE-2017-16516
Sources & references
- Original article / advisory (Ubuntu Security Notices) ↗
- NIST NVD: CVE-2017-16516 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.