PT-2021-22449 · Kaml · Kaml

Ukarlsson

·

Published

2021-09-07

·

Updated

2021-09-14

·

CVE-2021-39194

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions kaml versions prior to 0.35.3
Description Attackers that could provide arbitrary YAML input to an application that uses kaml could cause the application to endlessly loop while parsing the input. This could result in resource starvation and denial of service. This only affects applications that use polymorphic serialization with the default tagged polymorphism style. Applications using the property polymorphism style are not affected. YAML input for a polymorphic type that provided a tag but no value for the object would trigger the issue, for example, !<x>.
Recommendations For versions prior to 0.35.3, update to version 0.35.3 or later to resolve the issue. As a temporary workaround, consider avoiding the use of polymorphic serialization with the default tagged polymorphism style until a patch is applied. Restrict access to YAML input to minimize the risk of exploitation.

Exploit

Fix

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-39194
GHSA-FMM9-3GV8-58F4

Affected Products

Kaml