{"id":"GHSA-8wj3-cpmr-8whp","summary":"Cockpit Content Platform vulnerable to 2FA bypass","details":"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.","aliases":["CVE-2022-2818"],"modified":"2024-02-16T08:04:13.103329Z","published":"2022-08-16T00:00:30Z","database_specific":{"github_reviewed_at":"2022-08-18T19:19:58Z","nvd_published_at":"2022-08-15T11:21:00Z","cwe_ids":["CWE-212","CWE-287","CWE-305"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2818"},{"type":"WEB","url":"https://github.com/cockpit-hq/cockpit/commit/4bee1b903ee20818f4a8ecb9d974b9536cc54cb4"},{"type":"PACKAGE","url":"https://github.com/cockpit-hq/cockpit"},{"type":"WEB","url":"https://huntr.dev/bounties/ee27e5df-516b-4cf4-9f28-346d907b5491"}],"affected":[{"package":{"name":"cockpit-hq/cockpit","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-8wj3-cpmr-8whp/GHSA-8wj3-cpmr-8whp.json","last_known_affected_version_range":"\u003c= 2.2.1"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}