{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2014-2522 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2014-2522 is a medium-severity vulnerability in Haxx Curl, published on 18 Apr 2014. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2014-2522 and fix it if it is affected.\n\nWhat it is: CVE-2014-2522 is a medium-severity vulnerability in Haxx Curl, published on 18 Apr 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2014-2522 in the wild and no public exploit code.\n\nAffected product: Haxx Curl. 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-2014-2522/ (Markdown: https://insights.sbomify.com/CVE-2014-2522/index.md)","id":"CVE-2014-2522","markdown":"https://insights.sbomify.com/CVE-2014-2522/index.md","name":"CVE-2014-2522","record":{"aliases":["CURL-CVE-2014-2522","GHSA-wrgp-wm42-6wqv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"curl library","requires_auth":"none","summary":"Man-in-the-middle attackers can spoof servers when curl on Windows uses SChannel with IP addresses, bypassing hostname verification.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"curl","vendor":"haxx"},{"product":"libcurl","vendor":"haxx"}],"cvss":{"score":4,"severity":"medium","source":"nvd","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"curl and libcurl 7.27.0 through 7.35.0, when running on Windows and using the SChannel/Winssl TLS backend, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate when accessing a URL that uses a numerical IP address, which allows man-in-the-middle attackers to spoof servers via an arbitrary valid certificate.","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":"Security feature bypass in n/a","id":"CVE-2014-2522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"haxx:curl","products":["haxx:curl","haxx:libcurl"],"type":"security_feature_bypass","year":"2014"},"n_packages":0,"n_references":12,"next":{"headline":"Memory corruption in n/a","id":"CVE-2014-2523"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2014-2521"},"products":["n/a"],"published":"2014-04-18","related":[{"cvss_score":9.8,"headline":"Negotiate ambient user conn reuse","id":"CVE-2026-19931","kev_date_added":null,"published":"2026-09-06"},{"cvss_score":9.8,"headline":"HTTP/2 stream-dependency tree UAF","id":"CVE-2026-10536","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"cross-origin Digest auth state leak","id":"CVE-2026-11856","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"SASL double-free","id":"CVE-2026-8925","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"stale proxy password leak","id":"CVE-2026-9079","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"Code injection in curl","id":"CVE-2016-4606","kev_date_added":null,"published":"2020-02-21"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2016-9953","kev_date_added":null,"published":"2018-03-12"}],"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-06","vendors":["n/a"]},"summary":"Man-in-the-middle attackers can spoof servers when curl on Windows uses SChannel with IP addresses, bypassing hostname verification.","url":"https://insights.sbomify.com/CVE-2014-2522/"}