Lucene search

K
cvelistGitHub_MCVELIST:CVE-2021-39194
HistorySep 07, 2021 - 7:25 p.m.

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

2021-09-0719:25:10
CWE-835
GitHub_M
www.cve.org
4
denial of service
kaml
yaml
kotlinx.serialization

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

EPSS

0.001

Percentile

46.5%

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.

CNA Affected

[
  {
    "product": "kaml",
    "vendor": "charleskorn",
    "versions": [
      {
        "status": "affected",
        "version": "< 0.35.2"
      }
    ]
  }
]

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

EPSS

0.001

Percentile

46.5%

Related for CVELIST:CVE-2021-39194