{"id":"CVE-2021-25738","aliases":["EUVD-2021-2229","GHSA-m8wh-mqgf-rr8g"],"status":"published","title":"Code exec via yaml parsing","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","severity":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00473,"percentile":0.41417,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-502"],"published":"2021-10-11T18:55:10Z","modified":"2026-10-20T10:54:38Z","fixes":[{"ecosystem":"Maven","package":"io.kubernetes:client-java","fixed_in":["11.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"io.kubernetes:client-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"io.kubernetes:client-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.1"}]}],"versions":["0.1","0.2","1.0.0","1.0.0-beta1","1.0.0-beta2","1.0.0-beta3","1.0.0-beta4","10.0.0","10.0.1","10.0.2","11.0.0","2.0.0","2.0.0-beta1","2.0.0-beta2","3.0.0","3.0.0-beta1","3.0.0-beta2","4.0.0","4.0.0-beta1","5.0.0","6.0.1","7.0.0","8.0.0","8.0.0-alpha1","8.0.2","9.0.0","9.0.1","9.0.2","9.0.3"]}],"products":[{"vendor":"kubernetes","product":"java"},{"vendor":"kubernetes","product":"kubernetes java client"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://github.com/kubernetes-client/java/issues/1698","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/08/23/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25738","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-m8wh-mqgf-rr8g"},{"url":"https://github.com/kubernetes-client/java","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25738","title":"Code exec via yaml parsing","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","status":"published","published":"2021-10-11T18:55:10.1Z","modified":"2024-09-16T19:52:29.851Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-2229","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","status":"published","published":"2021-10-11T18:55:10Z","modified":"2024-09-16T19:52:29Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-03T00:55:19.119653Z"}],"ghsa":[{"id":"GHSA-m8wh-mqgf-rr8g","title":"Code injection in Kubernetes Java Client","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","status":"published","published":"2021-10-12T17:50:25Z","modified":"2023-01-28T05:07:01Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-20","CWE-502"],"updated_at":"2026-11-02T14:36:25.064927Z"}],"nvd":[{"id":"CVE-2021-25738","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","status":"published","published":"2021-10-11T19:15:07.487Z","modified":"2026-06-17T03:42:22.873Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20","CWE-502"],"updated_at":"2026-11-02T14:06:59.689345Z"}],"osv":[{"id":"CVE-2021-25738","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","status":"published","published":"2021-10-11T19:15:07.487Z","modified":"2026-10-20T10:54:38.373996761Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-m8wh-mqgf-rr8g","title":"Code injection in Kubernetes Java Client","description":"Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.","status":"published","published":"2021-10-12T17:50:25Z","modified":"2023-11-08T04:05:15.948816Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-20","CWE-502"],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
