{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-3660 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3660 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 7 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-3660 and fix it if it is affected.\n\nWhat it is: CVE-2021-3660 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 7 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-3660 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3660/ (Markdown: https://insights.sbomify.com/CVE-2021-3660/index.md)","id":"CVE-2021-3660","markdown":"https://insights.sbomify.com/CVE-2021-3660/index.md","name":"CVE-2021-3660","record":{"aliases":["DEBIAN-CVE-2021-3660","GHSA-5m9v-2hhc-h2wj","MGASA-2021-0467","OESA-2021-1359","UBUNTU-CVE-2021-3660"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Cockpit web console","requires_auth":"none","summary":"Attackers can embed Cockpit in iframes to perform clickjacking attacks, bypassing security controls.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cockpit","vendor":"cockpit-project"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1021","name":"Improper Restriction of Rendered UI Layers or Frames"}],"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 \u003ciFrame\u003e HTML entry. This may be used by a malicious website in clickjacking or similar attacks.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site request forgery in cockpit","id":"CVE-2021-3660","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"csrf","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Code injection in HP Workstation BIOS","id":"CVE-2021-3661"},"packages":[],"prev":{"headline":"A NULL pointer dereference flaw was found in the Linux kernel’s IEEE 802.15.4 wireless networking subsystem in the way the user closes the LR-WPAN connection.","id":"CVE-2021-3659"},"products":["cockpit"],"published":"2022-03-07","related":[{"cvss_score":7.5,"headline":"Security feature bypass in cockpit","id":"CVE-2021-3698","kev_date_added":null,"published":"2022-03-08"},{"cvss_score":7.5,"headline":"Denial of service in cockpit","id":"CVE-2019-3804","kev_date_added":null,"published":"2019-03-26"},{"cvss_score":6.5,"headline":"Server-side request forgery in n/a","id":"CVE-2020-35850","kev_date_added":null,"published":"2020-12-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can embed Cockpit in iframes to perform clickjacking attacks, bypassing security controls.","url":"https://insights.sbomify.com/CVE-2021-3660/"}