{"id":"CVE-2022-2818","aliases":["EUVD-2022-6520","GHSA-8wj3-cpmr-8whp"],"status":"published","title":"Improper Removal of Sensitive Information Before Storage or Transfer in cockpit-hq/cockpit","description":"Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01673,"percentile":0.77006,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-212","CWE-287","CWE-305"],"published":"2022-08-15T09:50:24Z","modified":"2026-10-28T02:30:37Z","fixes":[{"ecosystem":"Packagist","package":"cockpit-hq/cockpit","fixed_in":["2.2.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"cockpit-hq/cockpit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.2.1"},{"fixed":"2.2.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"cockpit-hq/cockpit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.2.0","2.2.1"]}],"products":[{"vendor":"agentejo","product":"cockpit"},{"vendor":"cockpit-hq","product":"cockpit-hq/cockpit"}],"references":[{"url":"https://huntr.dev/bounties/ee27e5df-516b-4cf4-9f28-346d907b5491","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/cockpit-hq/cockpit/commit/4bee1b903ee20818f4a8ecb9d974b9536cc54cb4","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2818","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8wj3-cpmr-8whp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2818.json","tags":["advisory"]},{"url":"https://github.com/cockpit-hq/cockpit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-2818","title":"Improper Removal of Sensitive Information Before Storage or Transfer in cockpit-hq/cockpit","description":"Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.","status":"published","published":"2022-08-15T09:50:24Z","modified":"2024-08-03T00:52:58.603Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-6520","description":"Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.","status":"published","published":"2022-08-15T09:50:24Z","modified":"2024-08-03T00:52:58Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T03:25:57.460299Z"}],"ghsa":[{"id":"GHSA-8wj3-cpmr-8whp","title":"Cockpit Content Platform vulnerable to 2FA bypass","description":"Cockpit Content Platform through version 2.2.1 is vulnerable to a two-factor authentication (2FA) bypass. The 2FA secret is disclosed in a JWT token after user logs into their account, allowing an attacker to bypass the 2FA code. A patch is available on the `develop` branch and is expected to be part of version 2.2.2.","status":"published","published":"2022-08-16T00:00:30Z","modified":"2023-07-21T19:32:40Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-212","CWE-287","CWE-305"],"updated_at":"2026-11-02T14:36:58.177785Z"}],"nvd":[{"id":"CVE-2022-2818","description":"Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.","status":"published","published":"2022-08-15T11:21:31.053Z","modified":"2026-06-17T04:42:38.413Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T14:07:25.242752Z"}],"osv":[{"id":"CVE-2022-2818","title":"Improper Removal of Sensitive Information Before Storage or Transfer in cockpit-hq/cockpit","description":"Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.","status":"published","published":"2022-08-15T09:50:24Z","modified":"2026-10-28T02:30:37.521777396Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T15:44:25.164673Z"},{"id":"GHSA-8wj3-cpmr-8whp","title":"Cockpit Content Platform vulnerable to 2FA bypass","description":"Cockpit Content Platform through version 2.2.1 is vulnerable to a two-factor authentication (2FA) bypass. The 2FA secret is disclosed in a JWT token after user logs into their account, allowing an attacker to bypass the 2FA code. A patch is available on the `develop` branch and is expected to be part of version 2.2.2.","status":"published","published":"2022-08-16T00:00:30Z","modified":"2024-02-16T08:04:13.103329Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-212","CWE-287","CWE-305"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
