CyberSecBulletin
CVE-2022-39152NVD status: Modified

Parasolid V33.1: Out-of-bounds Write

CVE-2022-39152 is a high-severity out-of-bounds write vulnerability in Parasolid V33.1 from Siemens, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected Parasolid V33.1 versions: All versions < V33.1.262; All versions >= V33.1.262 < V33.1.263. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.26% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Simcenter Femap to 2022.1.3 or 2022.2.2, whichever matches your release line, or a later version.
  2. Update Parasolid to 33.1.263 or 34.0.252 or 34.1.242 or 35.0.164, whichever matches your release line, or a later version.
  3. Read the advisory on cert-portal.siemens.com for workarounds and exact fixed builds.
  4. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
SiemensParasolid V33.1All versions < V33.1.262; All versions >= V33.1.262 < V33.1.263Not stated
SiemensParasolid V34.0All versions < V34.0.252Not stated
SiemensParasolid V34.1All versions < V34.1.242Not stated
SiemensParasolid V35.0All versions < V35.0.161; All versions >= V35.0.161 < V35.0.164Not stated
SiemensSimcenter Femap V2022.1All versions < V2022.1.3Not stated
SiemensSimcenter Femap V2022.2All versions < V2022.2.2Not stated
SiemensSimcenter Femap2022.1 up to, but not including, 2022.1.3; 2022.2 up to, but not including, 2022.2.22022.1.3, 2022.2.2
SiemensParasolid33.1 up to, but not including, 33.1.263; 34.0 up to, but not including, 34.0.252; 34.1 up to, but not including, 34.1.242; 35.0 up to, but not including, 35.0.16433.1.263, 34.0.252, 34.1.242, 35.0.164

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
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.

Official description

A vulnerability has been identified in Parasolid V33.1 (All versions < V33.1.262), Parasolid V33.1 (All versions >= V33.1.262 < V33.1.263), Parasolid V34.0 (All versions < V34.0.252), Parasolid V34.1 (All versions < V34.1.242), Parasolid V35.0 (All versions < V35.0.161), Parasolid V35.0 (All versions >= V35.0.161 < V35.0.164), Simcenter Femap V2022.1 (All versions < V2022.1.3), Simcenter Femap V2022.2 (All versions < V2022.2.2). The affected application contains an out of bounds write past the end of an allocated buffer while parsing specially crafted X_T files. This could allow an attacker to execute code in the context of the current process. (ZDI-CAN-17740)

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.

More Out-of-bounds Write vulnerabilities (CWE-787)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Parasolid V33.1

All Parasolid V33.1 vulnerabilities

Recent Out-of-bounds Write vulnerabilities

Spotted an error? Tell us.