# CVE-2022-31479: Remote Code Execution via command injection of the hostname

- Severity: Critical 9.6 (CVSS:3.1, scored by Carrier) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.44%, higher than 84% of CVEs (2026-12-01)
- Published: 2022-06-06T16:36:46.116Z
- Modified: 2026-06-17T04:45:31.413Z
- Weaknesses: CWE-78, CWE-693
- Assigned by: Carrier

## Description

An unauthenticated attacker can update the hostname with a specially crafted name that will allow for shell commands to be executed during the core collection process. This vulnerability impacts products based on HID Mercury Intelligent Controllers LP1501, LP1502, LP2500, LP4502, and EP4502 which contain firmware versions prior to 1.302 for the LP series and 1.296 for the EP series. An attacker with this level of access on the device can monitor all communications sent to and from this device, modify onboard relays, change configuration files, or cause the device to become unstable. The injected commands only get executed during start up or when unsafe calls regarding the hostname are used. This allows the attacker to gain remote access to the device and can make their persistence permanent by modifying the filesystem.

(As written by CVE List.)

## Affected

- LenelS2 LNL-X2210: from ALL before 1.302
- LenelS2 LNL-X2220: from ALL before 1.302
- LenelS2 LNL-X3300: from ALL before 1.302
- LenelS2 LNL-X4420: from ALL before 1.302
- LenelS2 LNL-4420: from ALL before 1.296
- LenelS2 S2-LP-1501: from ALL before 1.302
- LenelS2 S2-LP-1502: from ALL before 1.302
- LenelS2 S2-LP-2500: from ALL before 1.302
- LenelS2 S2-LP-4502: from ALL before 1.302
- HID Mercury LP1501: from ALL before 1.302
- HID Mercury LP1502: from ALL before 1.302
- HID Mercury LP2500: from ALL before 1.302
- HID Mercury LP4502: from ALL before 1.302
- HID Mercury EP4502: from ALL before 1.296
- hidglobal lp1501_firmware: before 1.302
- hidglobal lp1502_firmware: before 1.302
- hidglobal lp2500_firmware: before 1.302
- hidglobal lp4502_firmware: before 1.302
- hidglobal ep4502_firmware: before 1.296
- carrier lenels2_lnl-4420_firmware: before 1.296
- carrier lenels2_lnl-x2210_firmware: before 1.302
- carrier lenels2_lnl-x2220_firmware: before 1.302
- carrier lenels2_lnl-x3300_firmware: before 1.302
- carrier lenels2_lnl-x4420_firmware: before 1.302
- carrier lenels2_s2-lp-1501_firmware: before 1.302
- carrier lenels2_s2-lp-1502_firmware: before 1.302
- carrier lenels2_s2-lp-2500_firmware: before 1.302
- carrier lenels2_s2-lp-4502_firmware: before 1.302

## Every score

- Carrier: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://www.corporate.carrier.com/product-security/advisories-resources/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-31479](https://www.cve.org/CVERecord?id=CVE-2022-31479), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2022-31479](https://nvd.nist.gov/vuln/detail/CVE-2022-31479), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31479 · Whole record: https://cve.day/CVE-2022-31479.json · Rebuilt by cve.day 2026-11-25T22:58:12.118Z
