CVE-2021-34595: codesys Use of Out-of-range Pointer Offset
CVSS: 8.1v3.1HighAnalyzed
Published 26-10-2021Last modified 17-09-2024
Vulnerability summary
CVE-2021-34595 is a high (CVSS 8.1) Use of Out-of-range Pointer Offset vulnerability in codesys. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 57.6% of scored vulnerabilities.
CVSS score
8.1/10
010
High · v3.1 (CVE.org)EPSS score
0.85%
0%100%
Low · -0.02 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 26-10-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
A crafted request with invalid offsets may cause an out-of-bounds read or write access in CODESYS V2 Runtime Toolkit 32 Bit full and PLCWinNT prior to versions V2.4.7.56, resulting in a denial-of-service condition or local memory overwrite.
CVSS metrics
3 scores · 2 sources · 2 versionsHigh 8.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HSourcesAll 2 agree
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Medium 5.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:S/C:N/I:P/A:PSourcesSingle source
EPSS trend
Probability
0.85%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
-0.02 pp
From 0.88% on 19-09-2026
19-09-202619-10-2026
EPSS score0.85%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-823Use of Out-of-range Pointer OffsetThe product performs pointer arithmetic on a valid pointer, but it uses an offset that can point outside of the intended range of valid memory locations for the resulting pointer.
- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected systems
Wago27 products
- 750-8202_firmware< fw20
- 750-8203_firmware< fw20
- 750-8204_firmware< fw20
- 750-8206_firmware< fw20
- 750-8207_firmware< fw20
Codesys4 products
- codesys< 1.1.9.22
- codesys v2≥ Runtime Toolkit 32 bit full, < V2.4.7.56 | ≥ PLCWinNT, < V2.4.7.56
- plcwinnt< 2.4.7.56
- runtime_toolkit< 2.4.7.56
2 vendors · 31 products