{"id":"CVE-2022-31802","aliases":["CVE-2022-31802"],"related":[],"kind":"vulnerability","state":"published","title":"Partial string comparison in CODESYS gateway server","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En CODESYS Gateway Server versión V2 para versiones anteriores a V2.3.9.38, sólo es comparada una parte de la contraseña especificada con la contraseña real de CODESYS Gateway. Un atacante puede llevar a cabo la autenticación especificando una pequeña contraseña que coincida con la parte correspondiente de la contraseña real más larga de CODESYS Gateway","source":"nvd"}],"published":"2022-06-24T07:46:09.625Z","modified":"2026-06-17T04:46:20.320Z","severity":{"scorer":"CERTVDE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CERTVDE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-187"],"affected":[{"ranges":[{"type":"custom","introduced":"V2","fixed":"V2.3.9.38","status":"affected"}],"vendor":"CODESYS","product":"CODESYS Gateway Server V2","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.0","fixed":"2.3.9.38"}],"vendor":"codesys","product":"gateway","cpe":"cpe:2.3:a:codesys:gateway:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17141&token=17867e35cfd30c77ba0137f9a17b3a557a4b7b66&download=","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CERTVDE","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31802","url":"https://www.cve.org/CVERecord?id=CVE-2022-31802","licence":"CVE Terms of Use","modified":"2024-09-17T00:32:18.904Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31802","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31802","licence":"Public domain","modified":"2026-06-17T04:46:20.320Z"}],"updatedAt":"2026-11-25T22:58:12.532Z","epss":{"score":0.01163,"percentile":0.67111,"date":"2026-11-30T12:00:22.000Z"}}