CVE-2021-39194
CVSS V2 Medium 4
CVSS V3 Medium 6.5
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.
Overview
- CVE ID
- CVE-2021-39194
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-09-07T20:15:08
- Last Modified Date
- 2021-09-14T17:06:55
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:* | 1 | OR | 0.35.3 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 4
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/charleskorn/kaml/issues/179 | Exploit Patch Third Party Advisory |
https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a | Patch Third Party Advisory |
https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4 | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-39194 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39194 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:05:27 | Added to TrackCVE | |||
2022-12-05 09:47:25 | 2021-09-07T20:15Z | 2021-09-07T20:15:08 | CVE Published Date | updated |
2022-12-05 09:47:25 | 2021-09-14T17:06:55 | CVE Modified Date | updated | |
2022-12-05 09:47:25 | Analyzed | Vulnerability Status | updated |