{"id":"CVE-2023-28118","state":"PUBLISHED","title":"kaml has potential denial of service while parsing input with anchors and aliases","description":"kaml provides YAML support for kotlinx.serialization. Prior to version 0.53.0, applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. There are no known workarounds.","publishedAt":"2023-03-20T12:39:42.075Z","updatedAt":"2025-02-25T14:52:56.789Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["charleskorn kaml"],"affected":[{"vendor":"charleskorn","product":"kaml","versions":[{"version":"< 0.53.0","status":"affected"}]}],"references":["https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","https://github.com/charleskorn/kaml/releases/tag/0.53.0"],"weaknesses":["CWE-776"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/28xxx/CVE-2023-28118.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-28118","state":"PUBLISHED","datePublished":"2023-03-20T12:39:42.075Z","dateUpdated":"2025-02-25T14:52:56.789Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-10T18:34:29.228Z"},"containers":{"cna":{"title":"kaml has potential denial of service while parsing input with anchors and aliases ","descriptions":[{"lang":"en","value":"kaml provides YAML support for kotlinx.serialization. Prior to version 0.53.0, applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. There are no known workarounds."}],"affected":[{"vendor":"charleskorn","product":"kaml","versions":[{"version":"< 0.53.0","status":"affected"}]}],"references":[{"url":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","name":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","name":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","tags":["x_refsource_MISC"]},{"url":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","name":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-776","lang":"en","description":"CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-20T12:39:42.075Z"},"source":{"advisory":"GHSA-c24f-2j3g-rg48","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","name":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","name":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","name":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:30:24.221Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:30:26.475655Z","id":"CVE-2023-28118","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:52:56.789Z"}}]}}}