#VU64001 Heap-based buffer overflow in yajl-ruby and yajl


Published: 2022-06-06

Vulnerability identifier: #VU64001

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-24795

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
yajl-ruby
Universal components / Libraries / Libraries used by multiple products
yajl
Universal components / Libraries / Libraries used by multiple products

Vendor: brianmario (Brian Lopez)
Lloyd Hilaiel

Description

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to a boundary error when handling large inputs. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

yajl-ruby: 0.1.0 - 1.4.1

yajl: 2.0.0 - 2.1.0


External links
http://github.com/brianmario/yajl-ruby/security/advisories/GHSA-jj47-x69x-mxrm
http://github.com/brianmario/yajl-ruby/blob/7168bd79b888900aa94523301126f968a93eb3a6/ext/yajl/yajl_buf.c#L64
http://github.com/brianmario/yajl-ruby/commit/7168bd79b888900aa94523301126f968a93eb3a6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability