CVE-2020-24370 (GCVE-0-2020-24370)

Vulnerability from cvelistv5 – Published: 2020-08-17 00:00 – Updated: 2024-08-04 15:12
VLAI
Summary
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
CWE
  • n/a
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T15:12:08.645Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "http://lua-users.org/lists/lua-l/2020-07/msg00324.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b"
          },
          {
            "name": "FEDORA-2020-d7ed9f18ff",
            "tags": [
              "vendor-advisory",
              "x_transferred"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/"
          },
          {
            "name": "FEDORA-2020-c83556709c",
            "tags": [
              "vendor-advisory",
              "x_transferred"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/"
          },
          {
            "name": "[debian-lts-announce] 20200926 [SECURITY] [DLA 2381-1] lua5.3 security update",
            "tags": [
              "mailing-list",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00019.html"
          },
          {
            "name": "[debian-lts-announce] 20230622 [SECURITY] [DLA 3469-1] lua5.3 security update",
            "tags": [
              "mailing-list",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31)."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-06-23T00:00:00.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "url": "http://lua-users.org/lists/lua-l/2020-07/msg00324.html"
        },
        {
          "url": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b"
        },
        {
          "name": "FEDORA-2020-d7ed9f18ff",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/"
        },
        {
          "name": "FEDORA-2020-c83556709c",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/"
        },
        {
          "name": "[debian-lts-announce] 20200926 [SECURITY] [DLA 2381-1] lua5.3 security update",
          "tags": [
            "mailing-list"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00019.html"
        },
        {
          "name": "[debian-lts-announce] 20230622 [SECURITY] [DLA 3469-1] lua5.3 security update",
          "tags": [
            "mailing-list"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2020-24370",
    "datePublished": "2020-08-17T00:00:00.000Z",
    "dateReserved": "2020-08-17T00:00:00.000Z",
    "dateUpdated": "2024-08-04T15:12:08.645Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2020-24370",
      "date": "2026-09-25",
      "epss": "0.03833",
      "percentile": "0.89709"
    },
    "microsoft_vex": {
      "current_release_date": "2024-06-30T07:00:00.000Z",
      "cve": "CVE-2020-24370",
      "id": "msrc_CVE-2020-24370",
      "initial_release_date": "2020-08-02T00:00:00.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal as demonstrated by getlocal(32^31).",
      "url": "https://msrc.microsoft.com/csaf/vex/2020/msrc_cve-2020-24370.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.2.0:-:*:*:*:*:*:*",
                    "matchCriteriaId": "F41B4A37-B7E5-4405-B5EA-5F1832AF02E7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.2.0:alpha:*:*:*:*:*:*",
                    "matchCriteriaId": "A2191642-D493-4813-87BF-20AD2E63A2AB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.2.0:beta:*:*:*:*:*:*",
                    "matchCriteriaId": "D810ACDB-A811-4B70-AA77-E724CD0242B3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.2.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "74A8D450-9B86-43DC-93A1-F68E42391948",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.2.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2293D8C6-2D69-49EF-8BB9-F5222951386B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.2.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "25977A23-CF7A-4C39-8F0D-38E958E92F75",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.0:-:*:*:*:*:*:*",
                    "matchCriteriaId": "6820CE33-926F-477F-A99E-153E88BD5248",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.0:alpha:*:*:*:*:*:*",
                    "matchCriteriaId": "4D651FE4-77A4-47CC-8EC6-FB8D35A2316F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.0:beta:*:*:*:*:*:*",
                    "matchCriteriaId": "9CBD494F-5C56-4472-9C02-09A14222E024",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "ED403C07-5D1C-4027-9A07-DD7AC4B9442E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A69EE245-6921-4EC4-B052-558A3BA259E7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4DE6741D-A69C-4D2E-B5C9-EC44792BA871",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AE86E188-EB0F-4D54-B1E7-0213C099DAB1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.3.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B1D6D7F5-0738-45EB-A4F2-9A65F8DD2D0A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.4.0:-:*:*:*:*:*:*",
                    "matchCriteriaId": "E9F78BF8-B73C-42C6-AF54-2CD935670053",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.4.0:alpha:*:*:*:*:*:*",
                    "matchCriteriaId": "F49EE868-BA14-48D2-9C97-B52E6576EC62",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:lua:lua:5.4.0:beta:*:*:*:*:*:*",
                    "matchCriteriaId": "C9117B51-57B0-4648-B937-69A6DAC06134",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
                    "matchCriteriaId": "80F0FA5D-8D3B-4C0E-81E2-87998286AF33",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
                    "matchCriteriaId": "36D96259-24BD-44E2-96D9-78CE1D41F956",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DEECE5FC-CACF-4496-A3E7-164736409252",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31)."
          },
          {
            "lang": "es",
            "value": "El archivo ldebug.c en Lua versi\u00f3n 5.4.0, permite un desbordamiento de negaci\u00f3n y un error de segmentaci\u00f3n en getlocal y setlocal, como es demostrado por getlocal (3,2^31)."
          }
        ],
        "id": "CVE-2020-24370",
        "lastModified": "2025-05-05T14:12:47.407",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 5.0,
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 1.4,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2020-08-17T17:15:13.877",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Mailing List",
              "Vendor Advisory"
            ],
            "url": "http://lua-users.org/lists/lua-l/2020-07/msg00324.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00019.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Mailing List",
              "Vendor Advisory"
            ],
            "url": "http://lua-users.org/lists/lua-l/2020-07/msg00324.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00019.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-191"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2025-11-21T16:06:15+00:00",
      "cve": "CVE-2020-24370",
      "id": "CVE-2020-24370",
      "initial_release_date": "2020-07-24T00:00:00+00:00",
      "product_status:fixed": "93",
      "product_status:known_not_affected": "6",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "lua: segmentation fault in getlocal and setlocal functions in ldebug.c",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-24370.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…