Information disclosure in samba
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 9 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | samba | Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14 | — | No fix listed | CNA |
- samba Vendor— Affected Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14 Fixed in — No fix listed CNA
Remediation
Red Hat 3 advisories
- RHSA-2022:8317 Released 2022-11-15 · Red Hat rating Moderatesamba security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) libsmbclient-devel-4.16.4-101.el9, libwbclient-devel-4.16.4-101.el9, samba-devel-4.16.4-101.el9 +3
- Red Hat Enterprise Linux AppStream (v. 9) samba-client-4.16.4-101.el9, samba-krb5-printing-4.16.4-101.el9, samba-vfs-iouring-4.16.4-101.el9 +3
- Red Hat Enterprise Linux BaseOS (v. 9) libsmbclient-4.16.4-101.el9, libwbclient-4.16.4-101.el9, python3-samba-4.16.4-101.el9 +8
- Red Hat Enterprise Linux Resilient Storage (v. 9) ctdb-4.16.4-101.el9
- RHSA-2022:7111 Released 2022-10-25 · Red Hat rating Moderatesamba security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) samba-vfs-iouring-4.15.5-10.el8_6
- Red Hat Enterprise Linux BaseOS (v. 8) ctdb-4.15.5-10.el8_6, libsmbclient-4.15.5-10.el8_6, libwbclient-4.15.5-10.el8_6 +18
- Red Hat Enterprise Linux CRB (v. 8) libsmbclient-devel-4.15.5-10.el8_6, libwbclient-devel-4.15.5-10.el8_6, samba-devel-4.15.5-10.el8_6
- Red Hat Virtualization 4 Hypervisor for RHEL 8 libsmbclient-4.15.5-10.el8_6, libwbclient-4.15.5-10.el8_6, samba-4.15.5-10.el8_6 +3
- RHSA-2022:7056 Released 2022-10-19 · Red Hat rating Moderatesamba security, bug fix and enhancement update
- Red Hat Gluster 3.5 Samba on RHEL-8 ctdb-4.16.5-100.el8rhgs, libsmbclient-4.16.5-100.el8rhgs, libsmbclient-devel-4.16.5-100.el8rhgs +18
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:8317 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:7111 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:8317 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:7111 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:8317 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2022:7111 |
| Red Hat Enterprise Linux Resilient Storage (v. 9) | Fixed | RHSA-2022:8317 |
| Red Hat Gluster 3.5 Samba on RHEL-8 | Fixed | RHSA-2022:7056 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:7111 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-32742
- 2026-10-03 Alias added: GHSA-j7gp-2jqv-76gj
References
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2022-32742 · CVE Program
- CVE-2022-32742 · NVD
- FIRST EPSS
- GHSA-j7gp-2jqv-76gj · GitHub Advisory Database · CC BY 4.0
- CVE-2022-32742 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences