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

CNVD-2021-31255

Vulnerability from cnvd - Published: 2021-04-27
VLAI
Title
WatermelonDB SQL注入漏洞
Description
WatermelonDB是下一代React数据库,可构建功能强大的 React 和 React Native 应用程序,可在保持快速的同时从数百个记录扩展到数万个记录。 WatermelonDB 0.15.1之前版本和0.16.2之前版本中存在SQL注入漏洞,该漏洞源于基于数据库的应用缺少对外部输入SQL语句的验证,攻击者可利用该漏洞执行非法SQL命令。
Severity
Patch Name
WatermelonDB SQL注入漏洞的补丁
Patch Description
WatermelonDB是下一代React数据库,可构建功能强大的 React 和 React Native 应用程序,可在保持快速的同时从数百个记录扩展到数万个记录。 WatermelonDB 0.15.1之前版本和0.16.2之前版本中存在SQL注入漏洞,该漏洞源于基于数据库的应用缺少对外部输入SQL语句的验证,攻击者可利用该漏洞执行非法SQL命令。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://github.com/Nozbe/WatermelonDB/security/advisories/GHSA-38f9-m297-6q9g

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-4035
Impacted products
Name
['WatermelonDB WatermelonDB <0.15.1', 'WatermelonDB WatermelonDB <0.16.2']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-4035"
    }
  },
  "description": "WatermelonDB\u662f\u4e0b\u4e00\u4ee3React\u6570\u636e\u5e93\uff0c\u53ef\u6784\u5efa\u529f\u80fd\u5f3a\u5927\u7684 React \u548c React Native\n\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u5728\u4fdd\u6301\u5feb\u901f\u7684\u540c\u65f6\u4ece\u6570\u767e\u4e2a\u8bb0\u5f55\u6269\u5c55\u5230\u6570\u4e07\u4e2a\u8bb0\u5f55\u3002\n\nWatermelonDB 0.15.1\u4e4b\u524d\u7248\u672c\u548c0.16.2\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u57fa\u4e8e\u6570\u636e\u5e93\u7684\u5e94\u7528\u7f3a\u5c11\u5bf9\u5916\u90e8\u8f93\u5165SQL\u8bed\u53e5\u7684\u9a8c\u8bc1\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u975e\u6cd5SQL\u547d\u4ee4\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://github.com/Nozbe/WatermelonDB/security/advisories/GHSA-38f9-m297-6q9g",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-31255",
  "openTime": "2021-04-27",
  "patchDescription": "WatermelonDB\u662f\u4e0b\u4e00\u4ee3React\u6570\u636e\u5e93\uff0c\u53ef\u6784\u5efa\u529f\u80fd\u5f3a\u5927\u7684 React \u548c React Native\r\n\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u5728\u4fdd\u6301\u5feb\u901f\u7684\u540c\u65f6\u4ece\u6570\u767e\u4e2a\u8bb0\u5f55\u6269\u5c55\u5230\u6570\u4e07\u4e2a\u8bb0\u5f55\u3002\r\n\r\nWatermelonDB 0.15.1\u4e4b\u524d\u7248\u672c\u548c0.16.2\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u57fa\u4e8e\u6570\u636e\u5e93\u7684\u5e94\u7528\u7f3a\u5c11\u5bf9\u5916\u90e8\u8f93\u5165SQL\u8bed\u53e5\u7684\u9a8c\u8bc1\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u975e\u6cd5SQL\u547d\u4ee4\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": "WatermelonDB SQL\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "WatermelonDB WatermelonDB \u003c0.15.1",
      "WatermelonDB WatermelonDB \u003c0.16.2"
    ]
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-4035",
  "serverity": "\u4e2d",
  "submitTime": "2020-06-04",
  "title": "WatermelonDB SQL\u6ce8\u5165\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…