CNVD-2021-49046

Vulnerability from cnvd - Published: 2021-07-10
VLAI
Title
Django SQL注入漏洞(CNVD-2021-49046)
Description
Django是一个开源的 Web 应用框架,使用Python编写。 Django 3.2.5之前的3.2.x版本及3.1.13之前的3.1.x版本中存在SQL注入漏洞。该漏洞与代码缺陷有关。QuerySet.order_by()在处理传递过来的用户输入时未对数据进行严格验证。攻击者可通过传递特制数据绕过程序验证,造成SQL注入。
Severity
Patch Name
Django SQL注入漏洞(CNVD-2021-49046)的补丁
Patch Description
Django是一个开源的 Web 应用框架,使用Python编写。 Django 3.2.5之前的3.2.x版本及3.1.13之前的3.1.x版本中存在SQL注入漏洞。该漏洞与代码缺陷有关。QuerySet.order_by()在处理传递过来的用户输入时未对数据进行严格验证。攻击者可通过传递特制数据绕过程序验证,造成SQL注入。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修补程序,请及时关注更新: https://www.djangoproject.com/weblog/2021/jul/01/security-releases/

Reference
https://bugzilla.redhat.com/show_bug.cgi?id=1975918
Impacted products
Name
['Django Django 3.2.*,<3.2.5', 'Django Django 3.1.*,<3.1.13']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-35042",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-35042"
    }
  },
  "description": "Django\u662f\u4e00\u4e2a\u5f00\u6e90\u7684 Web \u5e94\u7528\u6846\u67b6\uff0c\u4f7f\u7528Python\u7f16\u5199\u3002\n\nDjango 3.2.5\u4e4b\u524d\u76843.2.x\u7248\u672c\u53ca3.1.13\u4e4b\u524d\u76843.1.x\u7248\u672c\u4e2d\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u4e0e\u4ee3\u7801\u7f3a\u9677\u6709\u5173\u3002QuerySet.order_by()\u5728\u5904\u7406\u4f20\u9012\u8fc7\u6765\u7684\u7528\u6237\u8f93\u5165\u65f6\u672a\u5bf9\u6570\u636e\u8fdb\u884c\u4e25\u683c\u9a8c\u8bc1\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u4f20\u9012\u7279\u5236\u6570\u636e\u7ed5\u8fc7\u7a0b\u5e8f\u9a8c\u8bc1\uff0c\u9020\u6210SQL\u6ce8\u5165\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u4e86\u6f0f\u6d1e\u4fee\u8865\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttps://www.djangoproject.com/weblog/2021/jul/01/security-releases/",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-49046",
  "openTime": "2021-07-10",
  "patchDescription": "Django\u662f\u4e00\u4e2a\u5f00\u6e90\u7684 Web \u5e94\u7528\u6846\u67b6\uff0c\u4f7f\u7528Python\u7f16\u5199\u3002\r\n\r\nDjango 3.2.5\u4e4b\u524d\u76843.2.x\u7248\u672c\u53ca3.1.13\u4e4b\u524d\u76843.1.x\u7248\u672c\u4e2d\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u4e0e\u4ee3\u7801\u7f3a\u9677\u6709\u5173\u3002QuerySet.order_by()\u5728\u5904\u7406\u4f20\u9012\u8fc7\u6765\u7684\u7528\u6237\u8f93\u5165\u65f6\u672a\u5bf9\u6570\u636e\u8fdb\u884c\u4e25\u683c\u9a8c\u8bc1\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u4f20\u9012\u7279\u5236\u6570\u636e\u7ed5\u8fc7\u7a0b\u5e8f\u9a8c\u8bc1\uff0c\u9020\u6210SQL\u6ce8\u5165\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": "Django SQL\u6ce8\u5165\u6f0f\u6d1e\uff08CNVD-2021-49046\uff09\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Django Django 3.2.*\uff0c\u003c3.2.5",
      "Django Django 3.1.*\uff0c\u003c3.1.13"
    ]
  },
  "referenceLink": "https://bugzilla.redhat.com/show_bug.cgi?id=1975918",
  "serverity": "\u9ad8",
  "submitTime": "2021-07-02",
  "title": "Django SQL\u6ce8\u5165\u6f0f\u6d1e\uff08CNVD-2021-49046\uff09"
}



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…