{"id":"CVE-2022-31802","aliases":["EUVD-2022-53191","GHSA-jp8v-m2cx-q392"],"status":"published","title":"Partial string comparison in CODESYS gateway server","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01333,"percentile":0.7137,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-187"],"published":"2022-06-24T07:46:09Z","modified":"2026-06-17T04:46:20Z","products":[{"vendor":"codesys","product":"codesys gateway server v2"},{"vendor":"codesys","product":"gateway"}],"references":[{"url":"https://customers.codesys.com/index.php?eID=dumpFile\u0026t=f\u0026f=17141\u0026token=17867e35cfd30c77ba0137f9a17b3a557a4b7b66\u0026download=","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31802"},{"url":"https://github.com/advisories/GHSA-jp8v-m2cx-q392"}],"sources":{"cve":[{"id":"CVE-2022-31802","title":"Partial string comparison in CODESYS gateway server","description":"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.","status":"published","published":"2022-06-24T07:46:09.625Z","modified":"2024-09-17T00:32:18.904Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-187"],"updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-53191","description":"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.","status":"published","published":"2022-06-24T07:46:09Z","modified":"2024-09-17T00:32:18Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:28:57.917597Z"}],"ghsa":[{"id":"GHSA-jp8v-m2cx-q392","title":"In CODESYS Gateway Server V2 for versions prior to V2.3.9.38 only a part of the the specified...","description":"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.","status":"published","published":"2022-06-25T00:01:01Z","modified":"2023-01-27T05:05:02Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-187"],"updated_at":"2026-11-02T14:42:36.711116Z"}],"nvd":[{"id":"CVE-2022-31802","description":"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.","status":"published","published":"2022-06-24T08:15:07.393Z","modified":"2026-06-17T04:46:20.32Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-187"],"updated_at":"2026-11-02T14:07:22.613788Z"}]}}
