GHSA-m2fv-3rqm-g7p5

Suggest an improvement
Source
https://github.com/advisories/GHSA-m2fv-3rqm-g7p5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-m2fv-3rqm-g7p5/GHSA-m2fv-3rqm-g7p5.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m2fv-3rqm-g7p5
Aliases
Published
2022-05-13T01:33:34Z
Modified
2023-11-01T04:48:43.138786Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Deserialization of Untrusted Data in org.jboss.resteasy:resteasy-yaml-provider
Details

It was found that the fix for CVE-2016-9606 in versions 3.0.22 and 3.1.2 was incomplete and Yaml unmarshalling in Resteasy is still possible via Yaml.load() in YamlProvider.

Mitigation:

If the YamlProvider is enabled it's recommended to add authentication, and authorization to the endpoint expecting Yaml content to prevent exploitation of this vulnerability.

Database specific
{
    "nvd_published_at": "2018-01-25T20:29:00Z",
    "github_reviewed_at": "2022-11-01T22:38:44Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

Maven / org.jboss.resteasy:resteasy-yaml-provider

Package

Name
org.jboss.resteasy:resteasy-yaml-provider
View open source insights on deps.dev
Purl
pkg:maven/org.jboss.resteasy/resteasy-yaml-provider

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.26.Final

Affected versions

1.*

1.0-beta-9
1.0-RC1
1.0.0.GA
1.0.1.GA
1.0.2.GA
1.1-RC1
1.1-RC2
1.1.GA
1.2.RC1
1.2.GA
1.2.1.GA

2.*

2.0-beta-1
2.0-beta-2
2.0-beta-3
2.0-beta-4
2.0-RC1
2.0.0.GA
2.0.1.GA
2.1-beta-1
2.1.0.GA
2.2-beta-1
2.2-RC-1
2.2.0.GA
2.2.1.GA
2.2.2.GA
2.2.3.GA
2.3-beta-1
2.3-RC1
2.3.0.GA
2.3.1.GA
2.3.2.Final
2.3.3.Final
2.3.4.Final
2.3.5.Final
2.3.6.Final
2.3.7.Final
2.3.10.Final

3.*

3.0-beta-1
3.0-beta-2
3.0-beta-3
3.0-beta-4
3.0-beta-5
3.0-beta-6
3.0-rc-1
3.0.0.Final
3.0.1.Final
3.0.2.Final
3.0.3.Final
3.0.4.Final
3.0.5.Final
3.0.6.Final
3.0.7.Final
3.0.8.Final
3.0.9.Final
3.0.10.Final
3.0.11.Final
3.0.12.Final
3.0.13.Final
3.0.14.Final
3.0.15.Final
3.0.16.Final
3.0.17.Final
3.0.18.Final
3.0.19.Final
3.0.20.Final
3.0.21.Final
3.0.22.Final
3.0.23.Final
3.0.24.Final

Maven / org.jboss.resteasy:resteasy-yaml-provider

Package

Name
org.jboss.resteasy:resteasy-yaml-provider
View open source insights on deps.dev
Purl
pkg:maven/org.jboss.resteasy/resteasy-yaml-provider

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.0
Fixed
3.6.0.Final

Affected versions

3.*

3.1.0.Final
3.1.1.Final
3.1.2.Final
3.1.3.Final
3.1.4.Final
3.5.0.CR1
3.5.0.CR2
3.5.0.CR3
3.5.0.CR4
3.5.0.Final
3.5.1.Final
3.6.0.CR1