SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: Out-of-bounds Write
CVE-2022-41674 is a high-severity out-of-bounds write vulnerability in SIMATIC S7-1500 TM MFP - GNU/Linux subsystem from Siemens, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited from the same local network by an unauthenticated attacker, without any action from a user. The record lists version V1.1 as the first without the flaw, so updating SIMATIC S7-1500 TM MFP - GNU/Linux subsystem to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 4.14% chance of exploitation within 30 days, which is in the top 8.99% of all scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update SIMATIC S7-1500 TM MFP - GNU/Linux subsystem to V1.1 or a later version.
- Update Linux Kernel to 5.4.218 or 5.10.148 or 5.15.74 or 5.19.16, whichever matches your release line, or a later version.
- Read the advisory on git.kernel.org for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | before V1.1 | V1.1 |
| Linux | Linux Kernel | 5.1 up to, but not including, 5.4.218; 5.5 up to, but not including, 5.10.148; 5.11 up to, but not including, 5.15.74; 5.16 up to, but not including, 5.19.16; 6.0 up to, but not including, 6.0.2 | 5.4.218, 5.10.148, 5.15.74, 5.19.16, 6.0.2 |
| Fedora Project | Fedora | 35; 36; 37 | Not stated |
| Debian | Debian Linux | 10.0; 11.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- AdjacentThe attacker must be on the same local network segment.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | NVD |
| CVSS 3.1 | 8.1 | High | CISA (ADP) |
Official description
An issue was discovered in the Linux kernel before 5.19.16. Attackers able to inject WLAN frames could cause a buffer overflow in the ieee80211_bss_info_update function in net/mac80211/scan.c.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
- Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- openwall.com/lists/oss-security/2022/10/13/2Mailing List, Third Party Advisory
- bugzilla.suse.com/show_bug.cgi?id=1203770Issue Tracking, Third Party Advisory
Third-party and government advisories
- packetstormsecurity.com/files/169951/Kernel-Live-Patch-Security-Notice-LSN-0090-1.htmlThird Party Advisory, VDB Entry
- lists.debian.org/debian-lts-announce/2022/11/msg00001.htmlMailing List, Third Party Advisory
- debian.org/security/2022/dsa-5257Third Party Advisory
Technical write-ups (may include proof of concept)
- openwall.com/lists/oss-security/2022/10/13/5Exploit, Mailing List, Third Party Advisory
Other references
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56B…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56M…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD…
- cert-portal.siemens.com/productcert/html/ssa-794697.html
Other vulnerabilities in SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
- 7.8 High severity
- 7.8 High severity
Linux Kernel Unspecified Exploited
- 8.8 High severity
- 7.8 High severity
- 8.8 High severity
- 8.2 High severity
Recent Out-of-bounds Write vulnerabilities
- 7.8 High severity
- 7.8 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.