Every CVE Search/ Get API key

CVE-2022-24795

Buffer Overflow and Integer Overflow in yajl-ruby

5.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.44%Up 1.9 points since Apr 9, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.9

Buffer Overflow and Integer Overflow in yajl-ruby

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.

Record
CVE-2022-24795
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-190
Updated
2026-11-02
EUVDEUVD-2022-1773 5.9

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.

Record
EUVD-2022-1773
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-jj47-x69x-mxrm 5.9

Buffer Overflow in yajl-ruby

NOTE: A previous patch, 1.4.2, fixed the heap memory issue, but could still lead to a DoS infinite loop. Please update to version 1.4.3

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.

Details

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.

Impact

We rate this as a moderate severity vulnerability which mostly impacts process availability as we believe exploitation for arbitrary code execution to be unlikely.

Patches

Patched in yajl-ruby 1.4.3

Workarounds

Avoid passing large inputs to YAJL

References

https://github.com/brianmario/yajl-ruby/blob/7168bd79b888900aa94523301126f968a93eb3a6/ext/yajl/yajl_buf.c#L64

For more information

If you have any questions or comments about this advisory:

Record
GHSA-jj47-x69x-mxrm
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-190
Updated
2026-11-02
NVD 5.9

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.

Record
CVE-2022-24795
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-122, CWE-190
Updated
2026-11-02
OSVAZL-10552 7.5

CVE-2022-24795 affecting package rubygem-yajl-ruby for versions less than 1.3.1-2

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.

Record
AZL-10552
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-35233 7.5

CVE-2022-24795 affecting package rubygem-yajl-ruby for versions less than 1.4.3-1

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.

Record
AZL-35233
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 20 moreShow less
OSV 5.9

Buffer Overflow and Integer Overflow in yajl-ruby

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.

Record
CVE-2022-24795
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-190
Updated
2026-11-02
OSVDEBIAN-CVE-2022-24795 7.5

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.

Record
DEBIAN-CVE-2022-24795
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVGHSA-jj47-x69x-mxrm 5.9

Buffer Overflow in yajl-ruby

NOTE: A previous patch, 1.4.2, fixed the heap memory issue, but could still lead to a DoS infinite loop. Please update to version 1.4.3

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.

Details

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.

Impact

We rate this as a moderate severity vulnerability which mostly impacts process availability as we believe exploitation for arbitrary code execution to be unlikely.

Patches

Patched in yajl-ruby 1.4.3

Workarounds

Avoid passing large inputs to YAJL

References

https://github.com/brianmario/yajl-ruby/blob/7168bd79b888900aa94523301126f968a93eb3a6/ext/yajl/yajl_buf.c#L64

For more information

If you have any questions or comments about this advisory:

Record
GHSA-jj47-x69x-mxrm
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-190
Updated
2026-11-02
OSVOESA-2022-1752 7.5

rubygem-yajl-ruby security update

Ruby C bindings to the excellent Yajl JSON stream-based parser library.

Security Fix(es):

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.(CVE-2022-24795)

Record
OESA-2022-1752
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2022-1912 7.5

yajl security update

yajl is a small event-driven JSON parser written in ANSI C, and a small validating JSON generator.

Security Fix(es):

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.(CVE-2022-24795)

Record
OESA-2022-1912
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:7524 5.9

Red Hat Security Advisory: yajl security update

Record
RHSA-2022:7524
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:8252 5.9

Red Hat Security Advisory: yajl security update

Record
RHSA-2022:8252
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:2063 6.5

Red Hat Security Advisory: yajl security update

Record
RHSA-2024:2063
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:7524 5.9

Moderate: yajl security update

Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C and a small validating JSON generator.

Security Fix(es):

  • yajl: heap-based buffer overflow when handling large inputs due to an integer overflow (CVE-2022-24795)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.7 Release Notes linked from the References section.

Record
RLSA-2022:7524
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:8252 5.9

Moderate: yajl security update

Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.

Security Fix(es):

  • yajl: heap-based buffer overflow when handling large inputs due to an integer overflow (CVE-2022-24795)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9.1 Release Notes linked from the References section.

Record
RLSA-2022:8252
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-24795 5.9

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.

Record
UBUNTU-CVE-2022-24795
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2022:7524 No score

Moderate: yajl security update

Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C and a small validating JSON generator.

Security Fix(es):

  • yajl: heap-based buffer overflow when handling large inputs due to an integer overflow (CVE-2022-24795)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:7524
Updated
2026-11-02
OSVALSA-2022:8252 No score

Moderate: yajl security update

Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.

Security Fix(es):

  • yajl: heap-based buffer overflow when handling large inputs due to an integer overflow (CVE-2022-24795)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:8252
Updated
2026-11-02
OSVCLSA-2026-1791550583 No score

Fix CVE(s): CVE-2022-24795

  • SECURITY UPDATE: integer overflow in yajl_buf_ensure_available()
    • debian/patches/CVE-2022-24795.patch: abort() on buffer size overflow
    • CVE-2022-24795
Record
CLSA-2026-1791550583
Updated
2026-11-02
OSVopenSUSE-SU-2024:12258-1 No score

libyajl-devel-2.1.0-6.1 on GA media

These are all security issues fixed in the libyajl-devel-2.1.0-6.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12258-1
Updated
2026-11-02
OSVSUSE-SU-2022:1746-1 No score

Security update for libyajl

This update for libyajl fixes the following issue:

  • CVE-2022-24795: Fixed a heap-based buffer overflow when handling large inputs due to an integer overflow (bsc#1198405)
Record
SUSE-SU-2022:1746-1
Updated
2026-11-02
OSVSUSE-SU-2022:1918-1 No score

Security update for rubygem-yajl-ruby

This update for rubygem-yajl-ruby fixes the following issue:

-CVE-2022-24795: Fixed a heap-based buffer overflow when handling large inputs due to an integer overflow (bsc#1198405)

Record
SUSE-SU-2022:1918-1
Updated
2026-11-02
OSVSUSE-SU-2022:3162-1 No score

Security update for libyajl

This update for libyajl fixes the following issues:

  • CVE-2022-24795: Fixed heap-based buffer overflow when handling large inputs (bsc#1198405).
Record
SUSE-SU-2022:3162-1
Updated
2026-11-02
OSVUSN-6233-1 No score

yajl vulnerabilities

It was discovered that YAJL was not properly performing bounds checks when decoding a string with escape sequences. If a user or automated system using YAJL 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 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 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)

It was discovered that memory leaks existed in one of the YAJL parsing functions. An attacker could possibly use this issue to cause a denial of service (memory exhaustion). (CVE-2023-33460)

Record
USN-6233-1
Updated
2026-11-02
OSVUSN-6233-2 No score

yajl vulnerabilities

USN-6233-1 fixed vulnerabilities in YAJL. This update provides the corresponding updates for Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.04.

Original advisory details:

It was discovered that YAJL was not properly performing bounds checks when decoding a string with escape sequences. If a user or automated system using YAJL 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 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 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)

It was discovered that memory leaks existed in one of the YAJL parsing functions. An attacker could possibly use this issue to cause a denial of service (memory exhaustion). (CVE-2023-33460)

Record
USN-6233-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
yajl-ruby
RubyGems
through 1.4.2
1.4.3
yajl
AlmaLinux:8
before 2.1.0-11.el8
2.1.0-11.el8
yajl-devel
AlmaLinux:8
before 2.1.0-11.el8
2.1.0-11.el8
yajl
AlmaLinux:9
before 2.1.0-21.el9
2.1.0-21.el9
yajl-devel
AlmaLinux:9
before 2.1.0-21.el9
2.1.0-21.el9
rubygem-yajl-ruby
Azure Linux:2
before 1.3.1-2
1.3.1-2
rubygem-yajl-ruby
Azure Linux:3
before 1.4.3-1
1.4.3-1
libyajl-dev
TuxCare:Ubuntu:18.04
before 2.1.0-2build1+tuxcare.els1
2.1.0-2build1+tuxcare.els1
libyajl-doc
TuxCare:Ubuntu:18.04
before 2.1.0-2build1+tuxcare.els1
2.1.0-2build1+tuxcare.els1
libyajl2
TuxCare:Ubuntu:18.04
before 2.1.0-2build1+tuxcare.els1
2.1.0-2build1+tuxcare.els1
Show 129 moreShow less
Affected packages
PackageAffectedFixed
yajl-tools
TuxCare:Ubuntu:18.04
before 2.1.0-2build1+tuxcare.els1
2.1.0-2build1+tuxcare.els1
burp
Debian:12
All versions, plus listed versions
3.1.4-13.1.4-33.1.4-3.13.1.4-43.1.4-5
None known
burp
Debian:13
before 3.1.4-2
3.1.4-2
r-cran-jsonlite
Debian:12
All versions, plus listed versions
1.8.4+dfsg-11.8.5+dfsg-11.8.7+dfsg-11.8.8+dfsg-11.8.9+dfsg-11.9.1+dfsg-12.0.0+dfsg-12.0.0+dfsg-2
None known
r-cran-jsonlite
Debian:13
before 1.8.8+dfsg-1
1.8.8+dfsg-1
r-cran-jsonlite
Debian:14
before 1.8.8+dfsg-1
1.8.8+dfsg-1
ruby-yajl
Debian:12
before 1.4.3-1
1.4.3-1
ruby-yajl
Debian:13
before 1.4.3-1
1.4.3-1
ruby-yajl
Debian:14
before 1.4.3-1
1.4.3-1
yajl
Debian:12
before 2.1.0-3+deb12u2, plus listed versions
2.1.0-32.1.0-3+deb12u1
2.1.0-3+deb12u2
yajl
Debian:13
before 2.1.0-4
2.1.0-4
yajl
Debian:14
before 2.1.0-4
2.1.0-4
yajl
Debian:10
From an advisory covering 3 CVEs
before 2.1.0-3+deb10u2, plus listed versions
2.1.0-32.1.0-3+deb10u1
2.1.0-3+deb10u2
burp
Debian:10
From an advisory covering 2 CVEs
before 2.1.32-2+deb10u1, plus listed versions
2.1.32-2
2.1.32-2+deb10u1
yajl-ruby
RubyGems
before 1.4.3, plus listed versions
0.5.100.5.110.5.120.5.50.5.6
Show 38 moreShow less
0.5.70.5.80.5.90.6.00.6.10.6.20.6.30.6.40.6.50.6.60.6.70.6.80.6.90.7.00.7.10.7.20.7.30.7.40.7.50.7.60.7.70.7.80.7.90.8.00.8.10.8.20.8.31.0.01.1.01.2.01.2.11.2.21.2.31.3.01.3.11.4.01.4.11.4.2
1.4.3
rubygem-yajl-ruby
openEuler:20.03-LTS-SP1
before 1.4.3-1.oe1
1.4.3-1.oe1
rubygem-yajl-ruby
openEuler:20.03-LTS-SP3
before 1.4.3-1.oe1
1.4.3-1.oe1
rubygem-yajl-ruby
openEuler:22.03-LTS
before 1.4.3-1.oe2203
1.4.3-1.oe2203
yajl
openEuler:20.03-LTS-SP1
before 2.1.0-16.oe1
2.1.0-16.oe1
yajl
openEuler:20.03-LTS-SP3
before 2.1.0-16.oe1
2.1.0-16.oe1
yajl
openEuler:22.03-LTS
before 2.1.0-18.oe2203
2.1.0-18.oe2203
yajl
Red Hat:enterprise_linux:8::appstream
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl-debugsource
Red Hat:enterprise_linux:8::crb
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl-devel
Red Hat:enterprise_linux:8::crb
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl
Red Hat:enterprise_linux:9::appstream
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl-debuginfo
Red Hat:enterprise_linux:9::crb
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl-debugsource
Red Hat:enterprise_linux:9::crb
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl-devel
Red Hat:enterprise_linux:9::crb
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl
Red Hat:rhel_eus:8.6::appstream
From an advisory covering 2 CVEs
before 0:2.1.0-13.el8_6
0:2.1.0-13.el8_6
yajl-debuginfo
Red Hat:rhel_eus:8.6::appstream
From an advisory covering 2 CVEs
before 0:2.1.0-13.el8_6
0:2.1.0-13.el8_6
yajl-debugsource
Red Hat:rhel_eus:8.6::appstream
From an advisory covering 2 CVEs
before 0:2.1.0-13.el8_6
0:2.1.0-13.el8_6
yajl-debuginfo
Red Hat:rhel_eus:8.6::crb
From an advisory covering 2 CVEs
before 0:2.1.0-13.el8_6
0:2.1.0-13.el8_6
yajl-debugsource
Red Hat:rhel_eus:8.6::crb
From an advisory covering 2 CVEs
before 0:2.1.0-13.el8_6
0:2.1.0-13.el8_6
yajl-devel
Red Hat:rhel_eus:8.6::crb
From an advisory covering 2 CVEs
before 0:2.1.0-13.el8_6
0:2.1.0-13.el8_6
yajl
Rocky Linux:8
before 0:2.1.0-11.el8
0:2.1.0-11.el8
yajl
Rocky Linux:9
before 0:2.1.0-21.el9
0:2.1.0-21.el9
yajl
Rocky Linux:9
before 0:2.1.0-21.el9_0
0:2.1.0-21.el9_0
libyajl
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 2.0.1-18.7.1
2.0.1-18.7.1
libyajl
SUSE:Linux Enterprise Server 12 SP5
before 2.0.1-18.7.1
2.0.1-18.7.1
libyajl
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.0.1-18.7.1
2.0.1-18.7.1
rubygem-yajl-ruby
SUSE:OpenStack Cloud Crowbar 8
before 1.3.1-4.6.1
1.3.1-4.6.1
rubygem-yajl-ruby
SUSE:OpenStack Cloud Crowbar 9
before 1.3.1-4.6.1
1.3.1-4.6.1
libyajl
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
libyajl
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
libyajl
SUSE:Linux Enterprise Micro 5.1
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
libyajl
SUSE:Linux Enterprise Micro 5.2
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
libyajl
openSUSE:Leap Micro 5.2
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
libyajl
openSUSE:Leap 15.3
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
libyajl
openSUSE:Leap 15.4
before 2.1.0-150000.4.3.1
2.1.0-150000.4.3.1
yajl
Ubuntu:Pro:14.04:LTS
before 2.0.4-4ubuntu0.1~esm1, plus listed versions
2.0.4-4
2.0.4-4ubuntu0.1~esm1
yajl
Ubuntu:Pro:16.04:LTS
before 2.1.0-2ubuntu0.16.04.1~esm1, plus listed versions
2.1.0-2
2.1.0-2ubuntu0.16.04.1~esm1
argyll
Ubuntu:16.04:LTS
All versions, plus listed versions
1.7.0+repack-41.8.2+repack-11.8.3+repack-11.8.3+repack-2
None known
burp
Ubuntu:16.04:LTS
All versions, plus listed versions
1.3.48-4.11.3.48-4.1build1
None known
collada2gltf
Ubuntu:16.04:LTS
All versions, plus listed versions
20140924-3
None known
icinga2
Ubuntu:16.04:LTS
All versions, plus listed versions
2.3.8-1build12.3.11-12.4.0-12.4.1-12.4.1-22.4.1-2ubuntu1
None known
libbson
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.3.1-11.3.1-1ubuntu0.1~esm1
None known
lnav
Ubuntu:16.04:LTS
All versions, plus listed versions
0.7.0-3build1
None known
php-mongodb
Ubuntu:16.04:LTS
All versions, plus listed versions
1.1.2-2~ubuntu11.1.5-1~build1
None known
r-cran-jsonlite
Ubuntu:16.04:LTS
All versions, plus listed versions
0.9.19-1
None known
ruby-yajl
Ubuntu:16.04:LTS
All versions, plus listed versions
1.2.0-3build11.2.0-3build21.2.0-3build31.2.0-3build4
None known
tulip
Ubuntu:16.04:LTS
All versions, plus listed versions
4.7.0dfsg-1ubuntu14.7.0dfsg-1ubuntu24.7.0dfsg-2ubuntu14.7.0dfsg-2ubuntu24.8.0dfsg-1
Show 4 moreShow less
4.8.0dfsg-1build14.8.0dfsg-24.8.0dfsg-2build14.8.0dfsg-2build2
None known
yajl
Ubuntu:Pro:18.04:LTS
before 2.1.0-2ubuntu0.18.04.1~esm1, plus listed versions
2.1.0-22.1.0-2build1
2.1.0-2ubuntu0.18.04.1~esm1
argyll
Ubuntu:18.04:LTS
All versions, plus listed versions
1.9.2+repack-11.9.2+repack-22.0.0+repack-1build1
None known
burp
Ubuntu:18.04:LTS
All versions, plus listed versions
2.0.54-12.0.54-4build1
None known
collada2gltf
Ubuntu:18.04:LTS
All versions, plus listed versions
20140924-4
None known
icinga2
Ubuntu:18.04:LTS
All versions, plus listed versions
2.7.0-12.8.1-0ubuntu2
None known
libbson
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.8.0-11.8.1-11.9.0-11.9.2-11.9.2-1ubuntu0.1~esm2
None known
lnav
Ubuntu:18.04:LTS
All versions, plus listed versions
0.8.2-3
None known
php-mongodb
Ubuntu:18.04:LTS
All versions, plus listed versions
1.2.3-1build11.3.4-1build1
None known
r-cran-jsonlite
Ubuntu:18.04:LTS
All versions, plus listed versions
1.2-1build11.5-2
None known
ruby-yajl
Ubuntu:18.04:LTS
All versions, plus listed versions
1.2.0-3build41.2.0-3.11.3.1-11.3.1-1build1
None known
yajl
Ubuntu:20.04:LTS
before 2.1.0-3ubuntu0.20.04.1, plus listed versions
2.1.0-3
2.1.0-3ubuntu0.20.04.1
argyll
Ubuntu:20.04:LTS
All versions, plus listed versions
2.0.1+repack-1
None known
burp
Ubuntu:20.04:LTS
All versions, plus listed versions
2.2.18-2
None known
icinga2
Ubuntu:20.04:LTS
All versions, plus listed versions
2.10.5-1build12.11.2-12.11.2-1ubuntu12.11.2-1ubuntu22.11.2-1ubuntu3
None known
lnav
Ubuntu:20.04:LTS
All versions, plus listed versions
0.8.4-5build10.8.5-20.8.5-2build1
None known
php-mongodb
Ubuntu:20.04:LTS
All versions, plus listed versions
1.5.5-1build11.6.1-41.6.1-4build1
None known
r-cran-jsonlite
Ubuntu:20.04:LTS
All versions, plus listed versions
1.6+dfsg-11.6.1+dfsg-1
None known
ruby-yajl
Ubuntu:20.04:LTS
All versions, plus listed versions
1.3.1-1build11.3.1-1build2
None known
argyll
Ubuntu:22.04:LTS
All versions, plus listed versions
2.0.1+repack-22.2.0+repack-12.2.0+repack-1build1
None known
burp
Ubuntu:22.04:LTS
All versions, plus listed versions
2.2.18-8ubuntu22.4.0-3ubuntu1
None known
collada2gltf
Ubuntu:22.04:LTS
All versions, plus listed versions
20140924-7build120140924-8
None known
icinga2
Ubuntu:22.04:LTS
All versions, plus listed versions
2.12.3-12.13.1-12.13.2-12.13.2-1build12.13.2-1build2
None known
lnav
Ubuntu:22.04:LTS
All versions, plus listed versions
0.9.0-10.9.0-2ubuntu1
None known
php-mongodb
Ubuntu:22.04:LTS
All versions, plus listed versions
1.9.0+1.7.5-2build21.11.1+1.9.2+1.7.5-41.12.0+1.9.2+1.7.5-31.12.0+1.9.2+1.7.5-4
None known
r-cran-jsonlite
Ubuntu:22.04:LTS
All versions, plus listed versions
1.7.2+dfsg-11.7.3+dfsg-1
None known
ruby-yajl
Ubuntu:22.04:LTS
All versions, plus listed versions
1.4.1-11.4.1-1build11.4.1-1build2
None known
tulip
Ubuntu:22.04:LTS
All versions, plus listed versions
5.4.0+dfsg-35.4.0+dfsg-3build15.4.0+dfsg-3build2
None known
yajl
Ubuntu:22.04:LTS
before 2.1.0-3ubuntu0.22.04.1, plus listed versions
2.1.0-32.1.0-3build12.1.0-3build2
2.1.0-3ubuntu0.22.04.1
argyll
Ubuntu:24.04:LTS
All versions, plus listed versions
2.3.1+repack-1ubuntu23.1.0+repack-13.1.0+repack-1build23.1.0+repack-1build33.1.0+repack-1build4
None known
burp
Ubuntu:24.04:LTS
All versions, plus listed versions
3.1.4-13.1.4-33.1.4-3ubuntu13.1.4-3.13.1.4-3.1build13.1.4-3.1build23.1.4-3.1build3
None known
icinga2
Ubuntu:24.04:LTS
All versions, plus listed versions
2.13.8-12.14.1-12.14.2-12.14.2-1build12.14.2-1build2
None known
lnav
Ubuntu:24.04:LTS
All versions, plus listed versions
0.11.2-10.11.2-1build20.11.2-1build3
None known
php-mongodb
Ubuntu:24.04:LTS
All versions, plus listed versions
1.15.0+1.11.1+1.9.2+1.7.5-1build11.15.0+1.11.1+1.9.2+1.7.5-1ubuntu11.15.0+1.11.1+1.9.2+1.7.5-1ubuntu21.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3
None known
r-cran-jsonlite
Ubuntu:24.04:LTS
All versions, plus listed versions
1.8.5+dfsg-11.8.7+dfsg-11.8.8+dfsg-1
None known
ruby-yajl
Ubuntu:24.04:LTS
All versions, plus listed versions
1.4.3-1build21.4.3-1build31.4.3-1build4
None known
argyll
Ubuntu:25.10
All versions, plus listed versions
3.1.0+repack-1.13.3.0+repack-1
None known
burp
Ubuntu:25.10
All versions, plus listed versions
3.1.4-4
None known
icinga2
Ubuntu:25.10
All versions, plus listed versions
2.14.5-12.14.6-12.15.0-1
None known
lnav
Ubuntu:25.10
All versions, plus listed versions
0.12.3-20.12.4-1
None known
php-mongodb
Ubuntu:25.10
All versions, plus listed versions
1.21.0-12.0.0-12.1.0-1
None known
r-cran-jsonlite
Ubuntu:25.10
All versions, plus listed versions
1.9.1+dfsg-1
None known
ruby-yajl
Ubuntu:25.10
All versions, plus listed versions
1.4.3-1build5
None known
tulip
Ubuntu:25.10
All versions, plus listed versions
6.0.1+dfsg-2
None known
argyll
Ubuntu:26.10
All versions, plus listed versions
3.3.0+repack-1.13.5.0+repack-13.5.0+repack-1build1
None known
icinga2
Ubuntu:26.10
All versions, plus listed versions
2.15.1-12.16.1-12.16.3-12.16.4-1build12.16.5-1
None known
lnav
Ubuntu:26.10
All versions, plus listed versions
0.13.2-1
None known
php-mongodb
Ubuntu:26.10
All versions, plus listed versions
2.1.7-0ubuntu12.1.7-0ubuntu2
None known
r-cran-jsonlite
Ubuntu:26.10
All versions, plus listed versions
2.0.0+dfsg-2
None known
ruby-yajl
Ubuntu:26.10
All versions, plus listed versions
1.4.3-1build51.4.3-2
None known
tulip
Ubuntu:26.10
All versions, plus listed versions
6.0.1+dfsg-2ubuntu16.0.1+dfsg-2ubuntu26.0.1+dfsg-3.1
None known
argyll
Ubuntu:26.04:LTS
All versions, plus listed versions
3.3.0+repack-13.3.0+repack-1.1
None known
burp
Ubuntu:26.04:LTS
All versions, plus listed versions
3.1.4-43.1.4-5
None known
icinga2
Ubuntu:26.04:LTS
All versions, plus listed versions
2.15.0-12.15.1-1
None known
lnav
Ubuntu:26.04:LTS
All versions, plus listed versions
0.12.4-10.12.4-20.13.2-1
None known
php-mongodb
Ubuntu:26.04:LTS
All versions, plus listed versions
2.1.0-12.1.7-0ubuntu1
None known
r-cran-jsonlite
Ubuntu:26.04:LTS
All versions, plus listed versions
1.9.1+dfsg-12.0.0+dfsg-2
None known
ruby-yajl
Ubuntu:26.04:LTS
All versions, plus listed versions
1.4.3-1build5
None known
tulip
Ubuntu:26.04:LTS
All versions, plus listed versions
6.0.1+dfsg-26.0.1+dfsg-2ubuntu1
None known
yajl
Ubuntu:Pro:14.04:LTS
From an advisory covering 3 CVEs
before 2.0.4-4ubuntu0.1~esm1, plus listed versions
2.0.4-4
2.0.4-4ubuntu0.1~esm1
yajl
Ubuntu:Pro:16.04:LTS
From an advisory covering 3 CVEs
before 2.1.0-2ubuntu0.16.04.1~esm1, plus listed versions
2.1.0-2
2.1.0-2ubuntu0.16.04.1~esm1
yajl
Ubuntu:Pro:18.04:LTS
From an advisory covering 3 CVEs
before 2.1.0-2ubuntu0.18.04.1~esm1, plus listed versions
2.1.0-22.1.0-2build1
2.1.0-2ubuntu0.18.04.1~esm1
yajl
Ubuntu:20.04:LTS
From an advisory covering 3 CVEs
before 2.1.0-3ubuntu0.20.04.1, plus listed versions
2.1.0-3
2.1.0-3ubuntu0.20.04.1
yajl
Ubuntu:22.04:LTS
From an advisory covering 3 CVEs
before 2.1.0-3ubuntu0.22.04.1, plus listed versions
2.1.0-32.1.0-3build12.1.0-3build2
2.1.0-3ubuntu0.22.04.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-24795 is a medium vulnerability (CVSS 5.9) in Brianmario Yajl-ruby, published April 5, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.44%, the 89th percentile. Fixed in yajl-ruby 1.4.3.

References

Show 44 moreShow less
MoveEnter Open