{"id":"USN-9257-1","summary":"powerline-gitstatus vulnerability","details":"It was discovered that Powerline Gitstatus ran git commands that honored\nthe configuration of the git repository in the current directory, which\ncould run arbitrary commands. If a user were tricked into changing to a\ndirectory containing a specially crafted git repository, an attacker could\npossibly use this issue to execute arbitrary code.","modified":"2026-12-02T02:28:43.098379753Z","published":"2026-11-30T21:12:58Z","related":["UBUNTU-CVE-2022-42906"],"upstream":["CVE-2022-42906","UBUNTU-CVE-2022-42906"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9257-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-42906"}],"affected":[{"package":{"name":"powerline-gitstatus","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/powerline-gitstatus?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1ubuntu0.20.04.1~esm1"}]}],"versions":["1.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.1-1ubuntu0.20.04.1~esm1","binary_name":"powerline-gitstatus"},{"binary_version":"1.3.1-1ubuntu0.20.04.1~esm1","binary_name":"python3-powerline-gitstatus"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2022-42906","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9257-1.json"}},{"package":{"name":"powerline-gitstatus","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/powerline-gitstatus?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-3ubuntu0.22.04.1~esm1"}]}],"versions":["1.3.1-2","1.3.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.1-3ubuntu0.22.04.1~esm1","binary_name":"powerline-gitstatus"},{"binary_version":"1.3.1-3ubuntu0.22.04.1~esm1","binary_name":"python3-powerline-gitstatus"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-42906","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9257-1.json"}}],"schema_version":"1.9.2"}