GHSA-945q-ch46-pchg

Suggest an improvement
Source
https://github.com/advisories/GHSA-945q-ch46-pchg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-945q-ch46-pchg/GHSA-945q-ch46-pchg.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-945q-ch46-pchg
Aliases
Published
2021-12-01T00:00:40Z
Modified
2024-05-15T23:27:54.320894Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Deserialization of Untrusted Data in Spring AMQP
Details

In Spring AMQP versions 2.2.0 - 2.2.19 and 2.3.0 - 2.3.11, the Spring AMQP Message object, in its toString() method, will create a new String object from the message body, regardless of its size. This can cause an OOM Error with a large message

Database specific
{
    "nvd_published_at": "2021-11-30T19:15:00Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-22T18:29:35Z"
}
References

Affected packages

Maven / org.springframework.amqp:spring-amqp

Package

Name
org.springframework.amqp:spring-amqp
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.amqp/spring-amqp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.2.0
Fixed
2.2.20

Affected versions

2.*

2.2.0.RELEASE
2.2.1.RELEASE
2.2.2.RELEASE
2.2.3.RELEASE
2.2.4.RELEASE
2.2.5.RELEASE
2.2.6.RELEASE
2.2.7.RELEASE
2.2.8.RELEASE
2.2.9.RELEASE
2.2.10.RELEASE
2.2.11.RELEASE
2.2.12.RELEASE
2.2.13.RELEASE
2.2.14.RELEASE
2.2.15.RELEASE
2.2.16.RELEASE
2.2.17.RELEASE
2.2.18.RELEASE
2.2.19.RELEASE

Database specific

{
    "last_known_affected_version_range": "<= 2.2.19"
}

Maven / org.springframework.amqp:spring-amqp

Package

Name
org.springframework.amqp:spring-amqp
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.amqp/spring-amqp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.3.0
Fixed
2.3.11

Affected versions

2.*

2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.3.9
2.3.10

Database specific

{
    "last_known_affected_version_range": "<= 2.3.10"
}