Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-39194— Denial of service while parsing polymorphic input with tagged polymorphism style in kaml

Quick assessment

Affected
charleskorn kaml
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

charleskorn kaml是YAML格式的开源实现,支持kotlinx.serialization。 kaml 0.35.3之前版本存在安全漏洞,攻击者可以向使用kaml的应用程序提供任意YAML输入的攻击者可能会导致应用程序在解析输入时无限循环。

CVSS 4.3 · Medium EPSS 1.66% · P76

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-39194

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Denial of service while parsing polymorphic input with tagged polymorphism style in kaml
Source: CVE Program / CVE List V5
Vulnerability Description
kaml is an open source implementation of the YAML format with support for kotlinx.serialization. In affected versions 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. Version 0.35.3 or later contain the fix for this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
charleskorn kaml 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
charleskorn kaml是YAML格式的开源实现,支持kotlinx.serialization。 kaml 0.35.3之前版本存在安全漏洞,攻击者可以向使用kaml的应用程序提供任意YAML输入的攻击者可能会导致应用程序在解析输入时无限循环。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
charleskorn kaml < 0.35.2 -

II. Public POCs for CVE-2021-39194

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-39194

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-39194 (1)

Vendor Advisories for CVE-2021-39194 (1)

Other References for CVE-2021-39194 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-39194

No comments yet


Leave a comment