Vulnerability · Published Mar 7, 2022 · Assigned by redhat
CVE-2021-3660
Medium 4.3
In plain English
A medium-severity security flaw in cockpit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)4.3Medium
Exploit odds (30 days)1.3%top 30.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Cockpit (and its plugins) do not seem to protect itself against clickjacking. It is possible to render a page from a cockpit server via another website, inside an <iFrame> HTML entry. This may be used by a malicious website in clickjacking or similar attacks.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cockpit | 264.1-1.el8 | ALSA-2022:2008 |
| AlmaLinux:8 | cockpit-bridge | 264.1-1.el8 | ALSA-2022:2008 |
| AlmaLinux:8 | cockpit-doc | 264.1-1.el8 | ALSA-2022:2008 |
| AlmaLinux:8 | cockpit-system | 264.1-1.el8 | ALSA-2022:2008 |
| AlmaLinux:8 | cockpit-ws | 264.1-1.el8 | ALSA-2022:2008 |
| Debian:12 | cockpit | 254-1 | DEBIAN-CVE-2021-3660 |
| Debian:13 | cockpit | 254-1 | DEBIAN-CVE-2021-3660 |
| Debian:14 | cockpit | 254-1 | DEBIAN-CVE-2021-3660 |
| Rocky Linux:8 | cockpit | 0:264.1-1.el8 | RLSA-2022:2008 |
Affected products (as reported)
Weakness: CWE-1021
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1980688 x_refsource_MISC
- https://github.com/cockpit-project/cockpit/issues/16122 x_refsource_MISC
- https://github.com/cockpit-project/cockpit/commit/8d9bc10d8128aae03dfde62fd00075fe492ead10 x_refsource_MISC