GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2022-38530

Vulnerability from cnvd - Published: 2022-05-19
VLAI
Title
Apache Apisix输入验证错误漏洞
Description
Apache Apisix是美国阿帕奇(Apache)基金会的一个云原生的微服务API网关服务。该软件基于 OpenResty 和 etcd 来实现,具备动态路由和插件热加载,适合微服务体系下的 API 管理。 Apache Apisix 2.13.0之前版本存在输入验证错误漏洞,该漏洞源于当解码带有重复键的 JSON 时,lua-cjson 会选择最后出现的值作为结果。攻击者可利用该漏洞绕过request-validation插件中的body_schema验证。
Severity
Patch Name
Apache Apisix输入验证错误漏洞的补丁
Patch Description
Apache Apisix是美国阿帕奇(Apache)基金会的一个云原生的微服务API网关服务。该软件基于 OpenResty 和 etcd 来实现,具备动态路由和插件热加载,适合微服务体系下的 API 管理。 Apache Apisix 2.13.0之前版本存在输入验证错误漏洞,该漏洞源于当解码带有重复键的 JSON 时,lua-cjson 会选择最后出现的值作为结果。攻击者可利用该漏洞绕过request-validation插件中的body_schema验证。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://lists.apache.org/thread/03vd2j81krxmpz6xo8p1dl642flpo6fv

Reference
https://nvd.nist.gov/vuln/detail/CVE-2022-25757
Impacted products
Name
Apache Apache APISIX <2.13.0
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2022-25757",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2022-25757"
    }
  },
  "description": "Apache Apisix\u662f\u7f8e\u56fd\u963f\u5e15\u5947\uff08Apache\uff09\u57fa\u91d1\u4f1a\u7684\u4e00\u4e2a\u4e91\u539f\u751f\u7684\u5fae\u670d\u52a1API\u7f51\u5173\u670d\u52a1\u3002\u8be5\u8f6f\u4ef6\u57fa\u4e8e OpenResty \u548c etcd \u6765\u5b9e\u73b0\uff0c\u5177\u5907\u52a8\u6001\u8def\u7531\u548c\u63d2\u4ef6\u70ed\u52a0\u8f7d\uff0c\u9002\u5408\u5fae\u670d\u52a1\u4f53\u7cfb\u4e0b\u7684 API \u7ba1\u7406\u3002\n\nApache Apisix 2.13.0\u4e4b\u524d\u7248\u672c\u5b58\u5728\u8f93\u5165\u9a8c\u8bc1\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5f53\u89e3\u7801\u5e26\u6709\u91cd\u590d\u952e\u7684 JSON \u65f6\uff0clua-cjson \u4f1a\u9009\u62e9\u6700\u540e\u51fa\u73b0\u7684\u503c\u4f5c\u4e3a\u7ed3\u679c\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u7ed5\u8fc7request-validation\u63d2\u4ef6\u4e2d\u7684body_schema\u9a8c\u8bc1\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u4e86\u6f0f\u6d1e\u4fee\u590d\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttps://lists.apache.org/thread/03vd2j81krxmpz6xo8p1dl642flpo6fv",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-38530",
  "openTime": "2022-05-19",
  "patchDescription": "Apache Apisix\u662f\u7f8e\u56fd\u963f\u5e15\u5947\uff08Apache\uff09\u57fa\u91d1\u4f1a\u7684\u4e00\u4e2a\u4e91\u539f\u751f\u7684\u5fae\u670d\u52a1API\u7f51\u5173\u670d\u52a1\u3002\u8be5\u8f6f\u4ef6\u57fa\u4e8e OpenResty \u548c etcd \u6765\u5b9e\u73b0\uff0c\u5177\u5907\u52a8\u6001\u8def\u7531\u548c\u63d2\u4ef6\u70ed\u52a0\u8f7d\uff0c\u9002\u5408\u5fae\u670d\u52a1\u4f53\u7cfb\u4e0b\u7684 API \u7ba1\u7406\u3002\r\n\r\nApache Apisix 2.13.0\u4e4b\u524d\u7248\u672c\u5b58\u5728\u8f93\u5165\u9a8c\u8bc1\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5f53\u89e3\u7801\u5e26\u6709\u91cd\u590d\u952e\u7684 JSON \u65f6\uff0clua-cjson \u4f1a\u9009\u62e9\u6700\u540e\u51fa\u73b0\u7684\u503c\u4f5c\u4e3a\u7ed3\u679c\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u7ed5\u8fc7request-validation\u63d2\u4ef6\u4e2d\u7684body_schema\u9a8c\u8bc1\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": "Apache Apisix\u8f93\u5165\u9a8c\u8bc1\u9519\u8bef\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Apache Apache APISIX \u003c2.13.0"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2022-25757",
  "serverity": "\u4e2d",
  "submitTime": "2022-03-30",
  "title": "Apache Apisix\u8f93\u5165\u9a8c\u8bc1\u9519\u8bef\u6f0f\u6d1e"
}



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…

Detection rules are retrieved from Rulezet.

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…