Ubuntu fixes yajl-ruby denial-of-service flaws in vendored YAJL
Original title: USN-9397-1: yajl-ruby vulnerabilities
Crafted escape sequences can abort the application, and large inputs can corrupt heap memory.
USN-9397-1 covers flaws in YAJL as vendored by yajl-ruby. Missing bounds checks while decoding strings with escape sequences can abort the application if crafted input is processed (CVE-2017-16516). Faulty memory allocation for large inputs can corrupt heap memory and cause denial of service when a specially crafted large input is processed. The excerpt cuts off before stating any further impact.
Unconfirmed: The excerpt is cut off and does not name the second issue's CVE or confirm impact beyond denial of service.
- CVE-2017-16516 is a bounds-check failure on escaped strings.
- Both issues require the application to process attacker-controlled input.
- The second issue is heap memory corruption from large inputs.
- Fixed versions and the second CVE are not in the excerpt.
Impact: Denial of service through crafted parser input
| Product | Affected |
|---|---|
| yajl-ruby | — |
- 1.Update yajl-ruby packages from USN-9397-1.
- CVEs
- CVE-2017-16516
- Organizations
- Ubuntu
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2017-16516 | In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the… | 7.5 | 4% | PoC |
From the original article
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).
ubuntu.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.