logo

CVE-2023-28118 com.charleskorn.kaml:kaml

Package

Manager: maven
Name: com.charleskorn.kaml:kaml
Vulnerable Version: >=0 <0.53.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00178 pctl0.39601

Details

kaml has potential denial of service while parsing input with anchors and aliases ### Impact Applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. ### Patches Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. ### Workarounds None. ### References Wikipedia has an explanation of this class of vulnerability: [billion laughs attack](https://en.wikipedia.org/wiki/Billion_laughs_attack) ### Acknowledgements Thank you to @gdude2002 for reporting this issue.

Metadata

Created: 2023-03-20T21:26:59Z
Modified: 2023-03-20T21:26:59Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-c24f-2j3g-rg48/GHSA-c24f-2j3g-rg48.json
CWE IDs: ["CWE-776"]
Alternative ID: GHSA-c24f-2j3g-rg48
Finding: F002
Auto approve: 1