CVE-2024-28180
published 2024-03-09CVE-2024-28180: Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing…
PriorityP423medium4.3CVSS 3.1
AVNACLPRLUINSUCNINAL
EPSS
1.96%
78.0th percentile
Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.
Affected
37 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-github-go-jose-go-jose | < golang-github-go-jose-go-jose 4.0.1-1 (forky) | golang-github-go-jose-go-jose 4.0.1-1 (forky) |
| debian | golang-gopkg-square-go-jose.v2 | < golang-github-go-jose-go-jose 4.0.1-1 (forky) | golang-github-go-jose-go-jose 4.0.1-1 (forky) |
| fedoraproject | fedora | 38 – 40 | — |
| github.com | go-jose_go-jose_v3 | >= 0 < 3.0.3 | 3.0.3 |
| github.com | go-jose_go-jose_v4 | >= 0 < 4.0.1 | 4.0.1 |
| go-jose | go-jose | < 4.0.1 | 4.0.1 |
| go-jose | go-jose | < 3.0.3 | 3.0.3 |
| go-jose | go-jose | < 2.6.3 | 2.6.3 |
| go-jose_project | go-jose | >= 2.0.0 < 2.6.3 | 2.6.3 |
| go-jose_project | go-jose | >= 3.0.0 < 3.0.3 | 3.0.3 |
| go-jose_project | go-jose | >= 4.0.0 < 4.0.1 | 4.0.1 |
| gopkg.in | go-jose_go-jose.v2 | >= 0 < 2.6.3 | 2.6.3 |
| gopkg.in | square_go-jose.v2 | 0 – 2.6.0 | — |
| msrc | azl3_cert-manager_1.11.2-8 | — | — |
| msrc | azl3_cert-manager_1.12.12-1 | — | — |
| msrc | azl3_containerd_1.7.13-6 | — | — |
| msrc | azl3_containerd_1.7.13-8 | — | — |
| msrc | azl3_containerized-data-importer_1.57.0-14 | — | — |
| msrc | azl3_containerized-data-importer_1.57.0-9 | — | — |
| msrc | azl3_dcos-cli_1.2.0-16 | — | — |
| msrc | azl3_dcos-cli_1.2.0-18 | — | — |
| msrc | azl3_influxdb_2.7.3-9 | — | — |
| msrc | azl3_influxdb_2.7.5-5 | — | — |
| msrc | azl3_keda_2.14.0-1 | — | — |
| msrc | azl3_keda_2.4.0-15 | — | — |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
osv4.3MEDIUM
vendor_debian4.3MEDIUM
vendor_msrc4.3MEDIUM
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Decompression bomb vulnerability in github.com/go-jose/go-jose
osv·2024-03-15
CVE-2024-28180 Decompression bomb vulnerability in github.com/go-jose/go-jose
Decompression bomb vulnerability in github.com/go-jose/go-jose
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.
OSV
CVE-2024-28180: Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards
osv·2024-03-09·CVSS 4.3
CVE-2024-28180 [MEDIUM] CVE-2024-28180: Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards
Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.
OSV
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
osv·2024-03-07
CVE-2024-28180 [MEDIUM] Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
### Impact
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). Thanks to Enze Wang@Alioth and Jianjun Chen@Zhongguancun Lab (@zer0yu and @chenjj) for reporting.
### Patches
The problem is fixed in the following packages and versions:
- github.com/go-jose/go-jose/v4 version 4.0.1
- github.com/go-jose/go-jose/v3 version 3.0.3
- gopkg.in/go-jose/go-jose.v2 version 2.6.3
The problem will not be fixed in the following package because the package is archived:
- gopkg.in/square/go-jose.v2
GHSA
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
ghsa·2024-03-07
CVE-2024-28180 [MEDIUM] CWE-409 Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
### Impact
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). Thanks to Enze Wang@Alioth and Jianjun Chen@Zhongguancun Lab (@zer0yu and @chenjj) for reporting.
### Patches
The problem is fixed in the following packages and versions:
- github.com/go-jose/go-jose/v4 version 4.0.1
- github.com/go-jose/go-jose/v3 version 3.0.3
- gopkg.in/go-jose/go-jose.v2 version 2.6.3
The problem will not be fixed in the following package because the package is archived:
- gopkg.in/square/go-jose.v2
Microsoft
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
vendor_msrc·2024-03-12·CVSS 4.3
CVE-2024-28180 [MEDIUM] CWE-409 Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Marin
Red Hat
jose-go: improper handling of highly compressed data
vendor_redhat·2024-03-09·CVSS 4.3
CVE-2024-28180 [MEDIUM] CWE-409 jose-go: improper handling of highly compressed data
jose-go: improper handling of highly compressed data
Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.
A vulnerability was found in Jose due to improper handling of highly compressed data. This issue could allow an attacker to send a JWE containing compressed data that uses large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.
Mitigation: Mitigation for this iss
Debian
CVE-2024-28180: golang-github-go-jose-go-jose - Package jose aims to provide an implementation of the Javascript Object Signing ...
vendor_debian·2024·CVSS 4.3
CVE-2024-28180 [MEDIUM] CVE-2024-28180: golang-github-go-jose-go-jose - Package jose aims to provide an implementation of the Javascript Object Signing ...
Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.
Scope: local
forky: resolved (fixed in 4.0.1-1)
sid: resolved (fixed in 4.0.1-1)
trixie: resolved (fixed in 4.0.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2024-28180 caddy: jose-go: improper handling of highly compressed data [epel-all]
bugzilla·2024-03-10·CVSS 4.3
CVE-2024-28180 [MEDIUM] CVE-2024-28180 caddy: jose-go: improper handling of highly compressed data [epel-all]
CVE-2024-28180 caddy: jose-go: improper handling of highly compressed data [epel-all]
More information about this security flaw is available in the following bug:
http://bugzilla.redhat.com/show_bug.cgi?id=2268854
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug. This will ensure that all associated bugs get updated
when new packages are pushed to stable.
# bugfix, security, enhancement, newpackage (required)
type=security
# low, me
Bugzilla
CVE-2024-28180 jose-go: improper handling of highly compressed data
bugzilla·2024-03-10·CVSS 4.3
CVE-2024-28180 [MEDIUM] CVE-2024-28180 jose-go: improper handling of highly compressed data
CVE-2024-28180 jose-go: improper handling of highly compressed data
Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.
https://github.com/go-jose/go-jose/commit/0dd4dd541c665fb292d664f77604ba694726f298
https://github.com/go-jose/go-jose/commit/add6a284ea0f844fd6628cba637be5451fe4b28a
https://github.com/go-jose/go-jose/commit/f4c051a0653d78199a053892f7619ebf96339502
https://github.com/go-
https://github.com/go-jose/go-jose/commit/0dd4dd541c665fb292d664f77604ba694726f298https://github.com/go-jose/go-jose/commit/add6a284ea0f844fd6628cba637be5451fe4b28ahttps://github.com/go-jose/go-jose/commit/f4c051a0653d78199a053892f7619ebf96339502https://github.com/go-jose/go-jose/security/advisories/GHSA-c5q2-7r4c-mv6ghttps://lists.fedoraproject.org/archives/list/[email protected]/message/GD2GSBQTBLYADASUBHHZV2CZPTSLIPQJ/https://lists.fedoraproject.org/archives/list/[email protected]/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/https://lists.fedoraproject.org/archives/list/[email protected]/message/IJ6LAJJ2FTA2JVVOACCV5RZTOIZLXUNJ/https://lists.fedoraproject.org/archives/list/[email protected]/message/JNPMXL36YGS3GQEVI3Q5HKHJ7YAAQXL5/https://lists.fedoraproject.org/archives/list/[email protected]/message/KXKGNCRU7OTM5AHC7YIYBNOWI742PRMY/https://lists.fedoraproject.org/archives/list/[email protected]/message/MSOMHDKRPU3A2JEMRODT2IREDFBLVPGS/https://lists.fedoraproject.org/archives/list/[email protected]/message/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/https://lists.fedoraproject.org/archives/list/[email protected]/message/UJO2U5ACZVACNQXJ5EBRFLFW6DP5BROY/https://lists.fedoraproject.org/archives/list/[email protected]/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/https://github.com/go-jose/go-jose/commit/0dd4dd541c665fb292d664f77604ba694726f298https://github.com/go-jose/go-jose/commit/add6a284ea0f844fd6628cba637be5451fe4b28ahttps://github.com/go-jose/go-jose/commit/f4c051a0653d78199a053892f7619ebf96339502https://github.com/go-jose/go-jose/security/advisories/GHSA-c5q2-7r4c-mv6ghttps://lists.fedoraproject.org/archives/list/[email protected]/message/GD2GSBQTBLYADASUBHHZV2CZPTSLIPQJ/https://lists.fedoraproject.org/archives/list/[email protected]/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/https://lists.fedoraproject.org/archives/list/[email protected]/message/IJ6LAJJ2FTA2JVVOACCV5RZTOIZLXUNJ/https://lists.fedoraproject.org/archives/list/[email protected]/message/JNPMXL36YGS3GQEVI3Q5HKHJ7YAAQXL5/https://lists.fedoraproject.org/archives/list/[email protected]/message/KXKGNCRU7OTM5AHC7YIYBNOWI742PRMY/https://lists.fedoraproject.org/archives/list/[email protected]/message/MSOMHDKRPU3A2JEMRODT2IREDFBLVPGS/https://lists.fedoraproject.org/archives/list/[email protected]/message/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/https://lists.fedoraproject.org/archives/list/[email protected]/message/UJO2U5ACZVACNQXJ5EBRFLFW6DP5BROY/https://lists.fedoraproject.org/archives/list/[email protected]/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/
2024-03-09
Published