CVE-2021-39194
Vulnerability from cvelistv5
Published
2021-09-07 19:25
Modified
2024-08-04 01:58
Severity ?
EPSS score ?
Summary
Denial of service while parsing polymorphic input with tagged polymorphism style in kaml
References
▼ | URL | Tags | |
---|---|---|---|
security-advisories@github.com | https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a | Patch, Third Party Advisory | |
security-advisories@github.com | https://github.com/charleskorn/kaml/issues/179 | Exploit, Patch, Third Party Advisory | |
security-advisories@github.com | https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4 | Exploit, Third Party Advisory |
Impacted products
▼ | Vendor | Product |
---|---|---|
charleskorn | kaml |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-04T01:58:18.227Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/charleskorn/kaml/issues/179" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "kaml", "vendor": "charleskorn", "versions": [ { "status": "affected", "version": "\u003c 0.35.2" } ] } ], "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 4.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-835", "description": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2021-09-07T19:25:10", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/charleskorn/kaml/issues/179" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a" } ], "source": { "advisory": "GHSA-fmm9-3gv8-58f4", "discovery": "UNKNOWN" }, "title": "Denial of service while parsing polymorphic input with tagged polymorphism style in kaml", "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-39194", "STATE": "PUBLIC", "TITLE": "Denial of service while parsing polymorphic input with tagged polymorphism style in kaml" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "kaml", "version": { "version_data": [ { "version_value": "\u003c 0.35.2" } ] } } ] }, "vendor_name": "charleskorn" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 4.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4", "refsource": "CONFIRM", "url": "https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4" }, { "name": "https://github.com/charleskorn/kaml/issues/179", "refsource": "MISC", "url": "https://github.com/charleskorn/kaml/issues/179" }, { "name": "https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a", "refsource": "MISC", "url": "https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a" } ] }, "source": { "advisory": "GHSA-fmm9-3gv8-58f4", "discovery": "UNKNOWN" } } } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2021-39194", "datePublished": "2021-09-07T19:25:10", "dateReserved": "2021-08-16T00:00:00", "dateUpdated": "2024-08-04T01:58:18.227Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2021-39194\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2021-09-07T20:15:08.193\",\"lastModified\":\"2021-09-14T17:06:55.753\",\"vulnStatus\":\"Analyzed\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"kaml es una implementaci\u00f3n de c\u00f3digo abierto del formato YAML con soporte para kotlinx.serialization. En las versiones afectadas, unos atacantes que pudieran proporcionar una entrada YAML arbitraria a una aplicaci\u00f3n que usa kaml podr\u00eda causar que la aplicaci\u00f3n realice un bucle interminable mientras analiza la entrada. Esto podr\u00eda resultar en una inanici\u00f3n de recursos y una denegaci\u00f3n de servicio. Esto s\u00f3lo afecta a las aplicaciones que usan una serializaci\u00f3n polim\u00f3rfica con el estilo de polimorfismo etiquetado predeterminado. Las aplicaciones que usan el estilo de polimorfismo de propiedades no est\u00e1n afectadas. La entrada de YAML para un tipo polim\u00f3rfico que proporciona una etiqueta pero no un valor para el objeto desencadenar\u00eda el problema. La versi\u00f3n 0.35.3 o posterior contiene la correcci\u00f3n de este problema\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"LOW\",\"baseScore\":4.3,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":2.8,\"impactScore\":1.4}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:N/I:N/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":4.0},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-835\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"0.35.3\",\"matchCriteriaId\":\"2769145F-32AC-4947-BD37-87EF18153497\"}]}]}],\"references\":[{\"url\":\"https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/charleskorn/kaml/issues/179\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]}]}}" } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.