🛡️ CVE-2022-24795 on Debian — burp
Description
yajl-ruby is a C binding to the YAJL JSON parsing and generation library. The 1.x branch and the 2.x branch of yajl contain an integer overflow which leads to subsequent heap memory corruption when dealing with large (~2GB) inputs. The reallocation logic at yajl_buf.c#L64 may result in the need 32bit integer wrapping to 0 when need approaches a value of 0x80000000 (i.e. ~2GB of data), which results in a reallocation of buf->alloc into a small heap chunk. These integers are declared as size_t in the 2.x branch of yajl, which practically prevents the issue from triggering on 64bit platforms, however this does not preclude this issue triggering on 32bit builds on which size_t is a 32bit integer. Subsequent population of this under-allocated heap chunk is based on the original buffer size, leading to heap memory corruption. This vulnerability mostly impacts process availability. Maintainers believe exploitation for arbitrary code execution is unlikely. A patch is available and anticipated to be part of yajl-ruby version 1.4.2. As a workaround, avoid passing large inputs to YAJL.
Distribution advisory
This page covers CVE-2022-24795 as tracked by Debian, for the package burp. The fix is available in version 3.1.4-2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
DEBIAN-CVE-2022-24795 is classified as CWE-122: Heap-based Buffer Overflow. A write past the end of a heap allocation corrupts allocator metadata or neighbouring objects.
Affected software
DEBIAN-CVE-2022-24795 is recorded against 4 packages.
- burp (fixed in 3.1.4-2)
- r-cran-jsonlite (fixed in 1.8.8+dfsg-1)
- ruby-yajl (fixed in 1.4.3-1)
- yajl (fixed in 2.1.0-4)
Timeline and source
Published on 5 April 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-24795 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| burp | — | 3.1.4-2 |
| r-cran-jsonlite | — | 1.8.8+dfsg-1 |
| ruby-yajl | — | 1.4.3-1 |
| yajl | — | 2.1.0-4 |
References
Similar Threats
- Unknown DLA-3516-1
- Medium CVE-2022-35406
- Unknown UBUNTU-CVE-2022-24795
Vulnerability Monitoring
Track new vulnerabilities in burp
DEBIAN-CVE-2022-24795 is rated CVSS 5.9 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.