{"id":"DHI-x73n-csl2-4rej-writ","aliases":[],"title":"When using the \"configparser\" module to write configuration files","originalDescription":"When using the \"configparser\" module to write configuration files containing multi-line text values with carriage return characters (\\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.10","range":">=0, <3.10.20-r10","fixed":"3.10.20-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.11","range":">=0, <3.11.15-r10","fixed":"3.11.15-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.12","range":">=0, <3.12.13-r10","fixed":"3.12.13-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.13","range":">=0, <3.13.14-r1","fixed":"3.13.14-r1"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.14","range":">=0, <3.14.6-r10","fixed":"3.14.6-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.10","range":">=0, <3.10.20-r2","fixed":"3.10.20-r2"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.11","range":">=0, <3.11.15-r2","fixed":"3.11.15-r2"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.12","range":">=0, <3.12.13-r2","fixed":"3.12.13-r2"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.13","range":">=0, <3.13.14-r1","fixed":"3.13.14-r1"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.14","range":">=0, <3.14.6-r1","fixed":"3.14.6-r1"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.10","range":">=0, <3.10.20-9","fixed":"3.10.20-9"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.11","range":">=0, <3.11.15-9","fixed":"3.11.15-9"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.12","range":">=0, <3.12.13-9","fixed":"3.12.13-9"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.13","range":">=0, <3.13.14-1","fixed":"3.13.14-1"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.14","range":">=0, <3.14.6-3","fixed":"3.14.6-3"}],"references":[{"url":"https://scout.docker.com/v/DHI-x73n-csl2-4rej-writ","type":"advisory"},{"url":"https://github.com/python/cpython/pull/151559","type":"fix"},{"url":"https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6","type":"fix"},{"url":"https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8","type":"fix"},{"url":"https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98","type":"fix"},{"url":"https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f","type":"fix"},{"url":"https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908","type":"fix"},{"url":"https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd","type":"fix"},{"url":"https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528","type":"fix"},{"url":"https://github.com/python/cpython/issues/143927","type":"web"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-0864","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1953.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9669","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7774","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3276","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11972","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-0864","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1954.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1502","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1963.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11940","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1964.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-13462","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1999.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4360","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-15308","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0864","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-0864","type":"advisory"},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/","type":"advisory"},{"url":"https://access.redhat.com/security/cve/CVE-2026-0864","type":"advisory"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-0864","type":"fix"},{"url":"https://ubuntu.com/security/CVE-2026-0864","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-0864","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-24T04:09:15.335Z","url":"https://osv.dev/vulnerability/DHI-x73n-csl2-4rej-writ","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T04:31:30.082Z"}],"firstSeenAt":"2026-11-21T04:31:30.082Z","publishedAt":"2026-11-19T21:22:26.000Z","modifiedAt":"2026-11-24T02:30:09.956Z"}