{"id":"GHSA-8wj3-cpmr-8whp","aliases":["CVE-2022-2818"],"title":"Cockpit Content Platform vulnerable to 2FA bypass","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","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.","severity":"high","score":8.8,"published":"2022-08-16T00:00:30.000Z","modified":"2024-02-16T08:04:13.103Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cockpit-hq/cockpit","sources":[{"name":"OSV · GHSA-8wj3-cpmr-8whp","url":"https://osv.dev/vulnerability/GHSA-8wj3-cpmr-8whp"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.2.2"}],"type":"ECOSYSTEM"}],"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"],"fixed":["2.2.2"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-2818","https://github.com/cockpit-hq/cockpit/commit/4bee1b903ee20818f4a8ecb9d974b9536cc54cb4","https://github.com/cockpit-hq/cockpit","https://huntr.dev/bounties/ee27e5df-516b-4cf4-9f28-346d907b5491"],"sources":[{"name":"OSV","id":"GHSA-8wj3-cpmr-8whp","modified":"2024-02-16T08:04:13.103329Z","url":"https://osv.dev/vulnerability/GHSA-8wj3-cpmr-8whp"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T17:10:31.931Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}