{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2022-31479",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-31479",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2022-06-06T16:36:46.116Z",
    "updatedAt": "2024-09-16T22:30:23.730Z",
    "importedAt": "2026-10-24T01:56:40.826Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Remote Code Execution via command injection of the hostname",
      "summary": "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.",
      "affected": [
        {
          "vendor": "LenelS2",
          "product": "LNL-X2210",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "LNL-X2220",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "LNL-X3300",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "LNL-X4420",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "LNL-4420",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.296"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "S2-LP-1501",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "S2-LP-1502",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "S2-LP-2500",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "LenelS2",
          "product": "S2-LP-4502",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "HID Mercury",
          "product": "LP1501",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "HID Mercury",
          "product": "LP1502",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "HID Mercury",
          "product": "LP2500",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "HID Mercury",
          "product": "LP4502",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.302"
            }
          ]
        },
        {
          "vendor": "HID Mercury",
          "product": "EP4502",
          "versions": [
            {
              "version": "ALL",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.296"
            }
          ]
        }
      ]
    }
  }
}