Partial string comparison in CODESYS gateway server
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
In CODESYS Gateway Server V2 for versions prior to V2.3.9.38 only a part of the the specified password is been compared to the real CODESYS Gateway password. An attacker may perform authentication by specifying a small password that matches the corresponding part of the longer real CODESYS Gateway password.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA CODESYS Gateway Server V2 (CODESYS) Fixed in V2.3.9.38
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
CODESYS Gateway Server V2 V2.3.9.38
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2022-13696 CODESYS Gateway server prone to denial of service attack due to excessive memory allocationPriority LOW 35
- TI-2022-13695 CODESYS Gateway Server V2 prone to Denial of Service AttackPriority LOW 26
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31802
- 2026-10-03 Alias added: GHSA-jp8v-m2cx-q392
References
More CODESYS Gateway vulnerabilities
- TI-2019-06497 An issue was discovered in 3S-Smart CODESYS V3 products. CVSS 3.1CRITICAL 9.8
- TI-2021-10055 CODESYS Gateway 3 before 3.5.16.70 has a NULL pointer dereference that may result in a denial of service (DoS). CVSS 3.1HIGH 7.5
- TI-2018-14204 Improper Communication Address Filtering exists in CODESYS V3 products versions prior V3.5.14.0. CVSS 3.1HIGH 7.5
- TI-2018-14203 Use of Insufficiently Random Values exists in CODESYS V3 products versions prior V3.5.14.0. CVSS 3.0HIGH 7.5
- TI-2019-06499 An issue was discovered in 3S-Smart CODESYS V3 products. CVSS 3.1HIGH 7.5
- TI-2019-06496 An issue was discovered in 3S-Smart CODESYS before 3.5.15.0 . CVSS 3.1HIGH 7.5
Sources
- CVE-2022-31802 · CVE Program
- CVE-2022-31802 · NVD
- FIRST EPSS
- GHSA-jp8v-m2cx-q392 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences