{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-32742 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-32742 is a medium-severity vulnerability in Samba Samba, published on 25 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-32742 and fix it if it is affected.\n\nWhat it is: CVE-2022-32742 is a medium-severity vulnerability in Samba Samba, published on 25 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-32742 in the wild and no public exploit code.\n\nAffected product: Samba Samba. 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-32742/ (Markdown: https://insights.sbomify.com/CVE-2022-32742/index.md)","id":"CVE-2022-32742","markdown":"https://insights.sbomify.com/CVE-2022-32742/index.md","name":"CVE-2022-32742","record":{"aliases":["ALPINE-CVE-2022-32742","ALSA-2022:7111","ALSA-2022:8317","AZL-10736","AZL-37012","CLSA-2022-1668546881","CLSA-2022-1668547929","CLSA-2026-1778604245","CLSA-2026-1779223801","DEBIAN-CVE-2022-32742","ECHO-4dac-3195-2546","GHSA-j7gp-2jqv-76gj","RHSA-2022:7056","RHSA-2022:7111","RHSA-2022:8317","RLSA-2022:7111","RLSA-2022:8317","SUSE-SU-2022:2580-1","SUSE-SU-2022:2585-1","SUSE-SU-2022:2598-1","SUSE-SU-2022:2621-1","SUSE-SU-2022:2651-1","UBUNTU-CVE-2022-32742"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba file server","requires_auth":"low_privilege","summary":"SMB1 write requests lacking range checks allow server memory contents to be written to files or printers, disclosing sensitive data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"samba","vendor":"samba"}],"cvss":{"score":4.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux:9::resilientstorage","Red Hat:rhev_hypervisor:4.4::el8","Red Hat:storage:3.5:samba:el8","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Availability Extension 12 SP4","SUSE:Linux Enterprise High Availability Extension 15","SUSE:Linux Enterprise High Availability Extension 15 SP1","SUSE:Linux Enterprise High Availability Extension 15 SP2","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4"],"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 samba","id":"CVE-2022-32742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba"],"type":"information_disclosure","year":"2022"},"n_packages":324,"n_references":3,"next":{"headline":"Missing authorization in samba","id":"CVE-2022-32743"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"ctdb","purl":"pkg:rpm/almalinux/ctdb","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"libsmbclient","purl":"pkg:rpm/almalinux/libsmbclient","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/almalinux/libsmbclient-devel","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"libwbclient","purl":"pkg:rpm/almalinux/libwbclient","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"libwbclient-devel","purl":"pkg:rpm/almalinux/libwbclient-devel","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"python3-samba","purl":"pkg:rpm/almalinux/python3-samba","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"python3-samba-test","purl":"pkg:rpm/almalinux/python3-samba-test","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/almalinux/samba","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/almalinux/samba-client","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-client-libs","purl":"pkg:rpm/almalinux/samba-client-libs","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/almalinux/samba-common","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-common-libs","purl":"pkg:rpm/almalinux/samba-common-libs","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-common-tools","purl":"pkg:rpm/almalinux/samba-common-tools","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-devel","purl":"pkg:rpm/almalinux/samba-devel","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-krb5-printing","purl":"pkg:rpm/almalinux/samba-krb5-printing","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-libs","purl":"pkg:rpm/almalinux/samba-libs","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-pidl","purl":"pkg:rpm/almalinux/samba-pidl","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-test","purl":"pkg:rpm/almalinux/samba-test","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-test-libs","purl":"pkg:rpm/almalinux/samba-test-libs","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-vfs-iouring","purl":"pkg:rpm/almalinux/samba-vfs-iouring","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-winbind","purl":"pkg:rpm/almalinux/samba-winbind","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-winbind-clients","purl":"pkg:rpm/almalinux/samba-winbind-clients","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-winbind-krb5-locator","purl":"pkg:rpm/almalinux/samba-winbind-krb5-locator","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-winbind-modules","purl":"pkg:rpm/almalinux/samba-winbind-modules","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:8","fixed":["4.15.5-10.el8_6"],"introduced":["0"],"last_affected":[],"package":"samba-winexe","purl":"pkg:rpm/almalinux/samba-winexe","source":"ALSA-2022:7111"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"ctdb","purl":"pkg:rpm/almalinux/ctdb","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"libsmbclient","purl":"pkg:rpm/almalinux/libsmbclient","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/almalinux/libsmbclient-devel","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"libwbclient","purl":"pkg:rpm/almalinux/libwbclient","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"libwbclient-devel","purl":"pkg:rpm/almalinux/libwbclient-devel","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"python3-samba","purl":"pkg:rpm/almalinux/python3-samba","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/almalinux/samba","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/almalinux/samba-client","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-client-libs","purl":"pkg:rpm/almalinux/samba-client-libs","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/almalinux/samba-common","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-common-libs","purl":"pkg:rpm/almalinux/samba-common-libs","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-common-tools","purl":"pkg:rpm/almalinux/samba-common-tools","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-devel","purl":"pkg:rpm/almalinux/samba-devel","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-krb5-printing","purl":"pkg:rpm/almalinux/samba-krb5-printing","source":"ALSA-2022:8317"},{"ecosystem":"AlmaLinux:9","fixed":["4.16.4-101.el9"],"introduced":["0"],"last_affected":[],"package":"samba-libs","purl":"pkg:rpm/almalinux/samba-libs","source":"ALSA-2022:8317"}],"prev":{"headline":"Information disclosure in Request New Password feature","id":"CVE-2022-32741"},"products":["samba"],"published":"2022-08-25","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2012-1182","kev_date_added":null,"published":"2012-04-10"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-2446","kev_date_added":null,"published":"2007-05-14"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0600","kev_date_added":null,"published":"2004-07-23"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-1999-0810","kev_date_added":null,"published":"2000-01-04"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-1999-0182","kev_date_added":null,"published":"1999-09-29"},{"cvss_score":9.8,"headline":"Weak cryptography in Samba","id":"CVE-2022-45141","kev_date_added":null,"published":"2023-03-06"},{"cvss_score":9.3,"headline":"Other in n/a","id":"CVE-2009-1886","kev_date_added":null,"published":"2009-06-24"}],"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":"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":"2024-08-03","vendors":["n/a"]},"summary":"SMB1 write requests lacking range checks allow server memory contents to be written to files or printers, disclosing sensitive data.","url":"https://insights.sbomify.com/CVE-2022-32742/"}