{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-41318 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-41318 is a high-severity vulnerability in Squid-Cache Squid, published on 25 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-41318 and fix it if it is affected.\n\nWhat it is: CVE-2022-41318 is a high-severity vulnerability in Squid-Cache Squid, published on 25 Dec 2022. 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-2022-41318 in the wild and no public exploit code.\n\nAffected product: Squid-Cache Squid. 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-2022-41318/ (Markdown: https://insights.sbomify.com/CVE-2022-41318/index.md)","id":"CVE-2022-41318","markdown":"https://insights.sbomify.com/CVE-2022-41318/index.md","name":"CVE-2022-41318","record":{"aliases":["ALPINE-CVE-2022-41318","ALSA-2022:6775","ALSA-2022:6839","CLSA-2022-1665501369","CLSA-2022-1665501511","CLSA-2022-1665501668","CLSA-2022-1665501958","CLSA-2022-1665502073","CLSA-2022-1665680517","CLSA-2022-1665680640","DEBIAN-CVE-2022-41318","GHSA-394c-rr7q-6g78","RHSA-2022:6774","RHSA-2022:6775","RHSA-2022:6776","RHSA-2022:6777","RHSA-2022:6815","RHSA-2022:6839","RLSA-2022:6775","RLSA-2022:6839","UBUNTU-CVE-2022-41318"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Squid proxy server","requires_auth":"none","summary":"A buffer over-read in Squid's authentication helpers may leak cleartext credentials to clients in specific configurations.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"squid","vendor":"squid-cache"}],"cvss":{"score":8.6,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"A buffer over-read was discovered in libntlmauth in Squid 2.5 through 5.6. Due to incorrect integer-overflow protection, the SSPI and SMB authentication helpers are vulnerable to reading unintended memory locations. In some configurations, cleartext credentials from these locations are sent to a client. This is fixed in 5.7.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_eus:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Rocky Linux:8","Rocky Linux:9"],"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":"Information disclosure in n/a","id":"CVE-2022-41318","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"squid-cache:squid","products":["squid-cache:squid"],"type":"information_disclosure","year":"2022"},"n_packages":48,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-41319"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.0.1-2.module_el8.6.0+2741+01592ae8"],"introduced":["0"],"last_affected":[],"package":"libecap","purl":"pkg:rpm/almalinux/libecap","source":"ALSA-2022:6775"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.1-2.module_el8.6.0+3048+383bc947"],"introduced":["0"],"last_affected":[],"package":"libecap","purl":"pkg:rpm/almalinux/libecap","source":"ALSA-2022:6775"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.1-2.module_el8.6.0+2741+01592ae8"],"introduced":["0"],"last_affected":[],"package":"libecap-devel","purl":"pkg:rpm/almalinux/libecap-devel","source":"ALSA-2022:6775"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.1-2.module_el8.6.0+3048+383bc947"],"introduced":["0"],"last_affected":[],"package":"libecap-devel","purl":"pkg:rpm/almalinux/libecap-devel","source":"ALSA-2022:6775"},{"ecosystem":"AlmaLinux:8","fixed":["7:4.15-3.module_el8.6.0+3275+7a670b72.2"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/almalinux/squid","source":"ALSA-2022:6775"},{"ecosystem":"AlmaLinux:9","fixed":["7:5.2-1.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/almalinux/squid","source":"ALSA-2022:6839"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/redhat/squid","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid-debuginfo","purl":"pkg:rpm/redhat/squid-debuginfo","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid-migration-script","purl":"pkg:rpm/redhat/squid-migration-script","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid-sysvinit","purl":"pkg:rpm/redhat/squid-sysvinit","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/redhat/squid","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid-debuginfo","purl":"pkg:rpm/redhat/squid-debuginfo","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid-migration-script","purl":"pkg:rpm/redhat/squid-migration-script","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["7:3.5.20-17.el7_9.8"],"introduced":["0"],"last_affected":[],"package":"squid-sysvinit","purl":"pkg:rpm/redhat/squid-sysvinit","source":"RHSA-2022:6815"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap","purl":"pkg:rpm/redhat/libecap","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debuginfo","purl":"pkg:rpm/redhat/libecap-debuginfo","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debugsource","purl":"pkg:rpm/redhat/libecap-debugsource","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-devel","purl":"pkg:rpm/redhat/libecap-devel","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["7:4.15-3.module+el8.6.0+16749+7b6feaf0.2"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/redhat/squid","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["7:4.15-3.module+el8.6.0+16749+7b6feaf0.2"],"introduced":["0"],"last_affected":[],"package":"squid-debuginfo","purl":"pkg:rpm/redhat/squid-debuginfo","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["7:4.15-3.module+el8.6.0+16749+7b6feaf0.2"],"introduced":["0"],"last_affected":[],"package":"squid-debugsource","purl":"pkg:rpm/redhat/squid-debugsource","source":"RHSA-2022:6775"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["7:5.2-1.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/redhat/squid","source":"RHSA-2022:6839"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["7:5.2-1.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"squid-debuginfo","purl":"pkg:rpm/redhat/squid-debuginfo","source":"RHSA-2022:6839"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["7:5.2-1.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"squid-debugsource","purl":"pkg:rpm/redhat/squid-debugsource","source":"RHSA-2022:6839"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap","purl":"pkg:rpm/redhat/libecap","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debuginfo","purl":"pkg:rpm/redhat/libecap-debuginfo","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debugsource","purl":"pkg:rpm/redhat/libecap-debugsource","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-devel","purl":"pkg:rpm/redhat/libecap-devel","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["7:4.4-8.module+el8.1.0+16758+65e5269e.5"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/redhat/squid","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["7:4.4-8.module+el8.1.0+16758+65e5269e.5"],"introduced":["0"],"last_affected":[],"package":"squid-debuginfo","purl":"pkg:rpm/redhat/squid-debuginfo","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["7:4.4-8.module+el8.1.0+16758+65e5269e.5"],"introduced":["0"],"last_affected":[],"package":"squid-debugsource","purl":"pkg:rpm/redhat/squid-debugsource","source":"RHSA-2022:6774"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap","purl":"pkg:rpm/redhat/libecap","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debuginfo","purl":"pkg:rpm/redhat/libecap-debuginfo","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debugsource","purl":"pkg:rpm/redhat/libecap-debugsource","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-devel","purl":"pkg:rpm/redhat/libecap-devel","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["7:4.4-8.module+el8.2.0+16757+26d6b59c.5"],"introduced":["0"],"last_affected":[],"package":"squid","purl":"pkg:rpm/redhat/squid","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["7:4.4-8.module+el8.2.0+16757+26d6b59c.5"],"introduced":["0"],"last_affected":[],"package":"squid-debuginfo","purl":"pkg:rpm/redhat/squid-debuginfo","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["7:4.4-8.module+el8.2.0+16757+26d6b59c.5"],"introduced":["0"],"last_affected":[],"package":"squid-debugsource","purl":"pkg:rpm/redhat/squid-debugsource","source":"RHSA-2022:6777"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap","purl":"pkg:rpm/redhat/libecap","source":"RHSA-2022:6776"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:1.0.1-2.module+el8.1.0+4044+36416a77"],"introduced":["0"],"last_affected":[],"package":"libecap-debuginfo","purl":"pkg:rpm/redhat/libecap-debuginfo","source":"RHSA-2022:6776"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2022-41317"},"products":["n/a"],"published":"2022-12-25","related":[{"cvss_score":10,"headline":"Squid vulnerable to information disclosure via authentication credential leakage in error handling","id":"CVE-2025-62168","kev_date_added":null,"published":"2025-10-17"},{"cvss_score":9.3,"headline":"Squid's URN Handling can lead to Buffer Overflow","id":"CVE-2025-54574","kev_date_added":null,"published":"2025-08-01"},{"cvss_score":9.2,"headline":"Squid vulnerable to Denial of Service in ICP Request handling","id":"CVE-2026-33526","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.7,"headline":"Squid has Denial of Service in ICP Response handling","id":"CVE-2026-32748","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.6,"headline":"SQUID-2023:10 Denial of Service in HTTP Request parsing","id":"CVE-2023-50269","kev_date_added":null,"published":"2023-12-14"},{"cvss_score":8.6,"headline":"Denial of Service in HTTP Message Processing in Squid","id":"CVE-2023-49285","kev_date_added":null,"published":"2023-12-04"},{"cvss_score":8.6,"headline":"Denial of Service in Helper Process management","id":"CVE-2023-49286","kev_date_added":null,"published":"2023-12-04"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-14","vendors":["n/a"]},"summary":"A buffer over-read in Squid's authentication helpers may leak cleartext credentials to clients in specific configurations.","url":"https://insights.sbomify.com/CVE-2022-41318/"}