{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-21474 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-21474 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-21474 is a medium-severity vulnerability in SAP HANA Database, published on 9 Feb 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-21474 and fix it if it is affected.\n\nWhat it is: CVE-2021-21474 is a medium-severity vulnerability in SAP HANA Database, published on 9 Feb 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-21474 in the wild and no public exploit code.\n\nAffected product: SAP HANA Database. 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-21474/ (Markdown: https://insights.sbomify.com/CVE-2021-21474/index.md)","id":"CVE-2021-21474","markdown":"https://insights.sbomify.com/CVE-2021-21474/index.md","name":"CVE-2021-21474","record":{"aliases":["GHSA-8xcp-qvv3-hccf"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP HANA Database","requires_auth":"high_privilege","summary":"Attackers can tamper with MD5-signed SAML tokens to impersonate users and read database contents in SAP HANA.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"hana_database","vendor":"sap"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"description":"SAP HANA Database, versions - 1.0, 2.0, accepts SAML tokens with MD5 digest, an attacker who manages to obtain an MD5-digest signed SAML Assertion issued for an SAP HANA instance might be able to tamper with it and alter it in a way that the digest continues to be the same and without invalidating the digital signature, this allows them to impersonate as user in HANA database and be able to read the contents in the database.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Weak cryptography in SAP HANA Database","id":"CVE-2021-21474","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Path traversal in SAP NetWeaver Master Data Management Server","id":"CVE-2021-21475"},"packages":[],"prev":{"headline":"Missing authorization in SAP NetWeaver AS ABAP and ABAP Platform (SRM RFC SUBMIT REPORT)","id":"CVE-2021-21473"},"products":["SAP HANA Database"],"published":"2021-02-09","related":[{"cvss_score":9.8,"headline":"Cross-site scripting in SAP HANA Database","id":"CVE-2018-2424","kev_date_added":null,"published":"2018-06-12"},{"cvss_score":8.8,"headline":"Privilege escalation vulnerability in SAP HANA database","id":"CVE-2026-0492","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":7.5,"headline":"Denial of service in SAP HANA Database","id":"CVE-2019-0350","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":5.3,"headline":"Information disclosure in SAP HANA extended application services","id":"CVE-2017-16687","kev_date_added":null,"published":"2017-12-12"},{"cvss_score":4.2,"headline":"Auth bypass in SAP HANA Database","id":"CVE-2020-26834","kev_date_added":null,"published":"2020-12-09"}],"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":["SAP SE"]},"summary":"Attackers can tamper with MD5-signed SAML tokens to impersonate users and read database contents in SAP HANA.","url":"https://insights.sbomify.com/CVE-2021-21474/"}