cnvd-2022-31843
Vulnerability from cnvd

Title: Lua缓冲区溢出漏洞(CNVD-2022-31843)

Description:

Lua是Lua(LUA)团队的一款轻量级、扩展的开源脚本语言。

Lua5.4.4及之前版本存在缓冲区错误漏洞,该漏洞源于lparser.c中的singlevar缺少特定的luaK_exp2anyregup调用,导致基于堆的缓冲区过度读取,这可能会影响编译不受信任的Lua代码的系统。未认证的攻击者可利用该漏洞执行任意代码。

Severity:

Patch Name: Lua缓冲区溢出漏洞(CNVD-2022-31843)的补丁

Patch Description:

Lua是Lua(LUA)团队的一款轻量级、扩展的开源脚本语言。

Lua5.4.4及之前版本存在缓冲区错误漏洞,该漏洞源于lparser.c中的singlevar缺少特定的luaK_exp2anyregup调用,导致基于堆的缓冲区过度读取,这可能会影响编译不受信任的Lua代码的系统。未认证的攻击者可利用该漏洞执行任意代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://lua-users.org/lists/lua-l/2022-02/msg00001.html

Reference: https://nvd.nist.gov/vuln/detail/CVE-2022-28805

Impacted products
Name
Lua Lua <=5.4.4
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2022-28805",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2022-28805"
    }
  },
  "description": "Lua\u662fLua\uff08LUA\uff09\u56e2\u961f\u7684\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u3001\u6269\u5c55\u7684\u5f00\u6e90\u811a\u672c\u8bed\u8a00\u3002\n\nLua5.4.4\u53ca\u4e4b\u524d\u7248\u672c\u5b58\u5728\u7f13\u51b2\u533a\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8elparser.c\u4e2d\u7684singlevar\u7f3a\u5c11\u7279\u5b9a\u7684luaK_exp2anyregup\u8c03\u7528\uff0c\u5bfc\u81f4\u57fa\u4e8e\u5806\u7684\u7f13\u51b2\u533a\u8fc7\u5ea6\u8bfb\u53d6\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f71\u54cd\u7f16\u8bd1\u4e0d\u53d7\u4fe1\u4efb\u7684Lua\u4ee3\u7801\u7684\u7cfb\u7edf\u3002\u672a\u8ba4\u8bc1\u7684\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a \r\nhttps://lua-users.org/lists/lua-l/2022-02/msg00001.html",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-31843",
  "openTime": "2022-04-23",
  "patchDescription": "Lua\u662fLua\uff08LUA\uff09\u56e2\u961f\u7684\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u3001\u6269\u5c55\u7684\u5f00\u6e90\u811a\u672c\u8bed\u8a00\u3002\r\n\r\nLua5.4.4\u53ca\u4e4b\u524d\u7248\u672c\u5b58\u5728\u7f13\u51b2\u533a\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8elparser.c\u4e2d\u7684singlevar\u7f3a\u5c11\u7279\u5b9a\u7684luaK_exp2anyregup\u8c03\u7528\uff0c\u5bfc\u81f4\u57fa\u4e8e\u5806\u7684\u7f13\u51b2\u533a\u8fc7\u5ea6\u8bfb\u53d6\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f71\u54cd\u7f16\u8bd1\u4e0d\u53d7\u4fe1\u4efb\u7684Lua\u4ee3\u7801\u7684\u7cfb\u7edf\u3002\u672a\u8ba4\u8bc1\u7684\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Lua\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\uff08CNVD-2022-31843\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "Lua Lua \u003c=5.4.4"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2022-28805",
  "serverity": "\u4e2d",
  "submitTime": "2022-04-21",
  "title": "Lua\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\uff08CNVD-2022-31843\uff09"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…