# CVE-2023-5719: Red Lion Crimson Improper Neutralization of Null Byte or NUL Character

> Administrators using the Crimson configuration tool may inadvertently set weak passwords due to null byte truncation, leaving devices vulnerable to unauthorized access.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 6 Nov 2023
- **Updated:** 16 Jan 2025
- **Also known as:** GHSA-7346-p858-4r4c

## What is CVE-2023-5719?

CVE-2023-5719 is a high-severity vulnerability in Red Lion Crimson, published on 6 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

The Crimson 3.2 Windows-based configuration tool allows users with administrative access to define new passwords for users and to download the resulting security configuration to a device. If such a password contains the percent (%) character, invalid values will be included, potentially truncating the string if a NUL is encountered. If the simplified password is not detected by the administrator, the device might be left in a vulnerable state as a result of more-easily compromised credentials. Note that passwords entered via the Crimson system web server do not suffer from this vulnerability.

Weakness: CWE-158 (Improper Neutralization of Null Byte or NUL Character)

## Which versions are affected by CVE-2023-5719?

It affects 1 product.


Products: Redlion Crimson.

## How do I fix CVE-2023-5719?

No fix has been published for CVE-2023-5719 yet. Limit exposure of the affected software until one is available.

## Is CVE-2023-5719 being exploited?

There is no known exploitation of CVE-2023-5719 in the wild and no public exploit code.

## Other vulnerabilities in Red Lion Crimson

- [CVE-2019-10984](https://insights.sbomify.com/CVE-2019-10984/): Memory corruption in Red Lion Controls Crimson (Windows configuration software) (high 7.8)
- [CVE-2019-10996](https://insights.sbomify.com/CVE-2019-10996/): Use after free in Red Lion Controls Crimson (Windows configuration software) (high 7.8)
- [CVE-2022-3090](https://insights.sbomify.com/CVE-2022-3090/): Path traversal in Crimson 3.0 (high 7.5)
- [CVE-2020-27279](https://insights.sbomify.com/CVE-2020-27279/): A NULL pointer deference vulnerability has been identified in the protocol converter. (high 7.5)
- [CVE-2020-27285](https://insights.sbomify.com/CVE-2020-27285/): The default configuration of Crimson 3.1 (Build versions prior to 3119.001) allows a user to be able to read and modify the database without authentication. (medium 6.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-5719 and fix it if it is affected.

What it is: CVE-2023-5719 is a high-severity vulnerability in Red Lion Crimson, published on 6 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2023-5719 in the wild and no public exploit code.

Affected product: Red Lion Crimson. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-5719/ (Markdown: https://insights.sbomify.com/CVE-2023-5719/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-5719
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-5719
- OSV: https://osv.dev/vulnerability/CVE-2023-5719

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-5719/
Summaries are generated and may contain mistakes; the official description above is the record.
