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

CNVD-2021-28295

Vulnerability from cnvd - Published: 2021-04-15
VLAI
Title
Rust缓冲区溢出漏洞(CNVD-2021-28295)
Description
Rust是一种系统编程语言,特点是运行速度快,能够防止段错误,并保证线程安全。 Rust 1.50.0之前版本中的标准库存在缓冲区溢出漏洞。该漏洞源于read_to_end()在不安全的上下文中不验证Read的返回值。目前没有详细的漏洞细节提供。
Severity
Patch Name
Rust缓冲区溢出漏洞(CNVD-2021-28295)的补丁
Patch Description
Rust是一种系统编程语言,特点是运行速度快,能够防止段错误,并保证线程安全。 Rust 1.50.0之前版本中的标准库存在缓冲区溢出漏洞。该漏洞源于read_to_end()在不安全的上下文中不验证Read的返回值。目前没有详细的漏洞细节提供。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://github.com/rust-lang/rust/pull/80895

Reference
https://nvd.nist.gov/vuln/detail/CVE-2021-28875
Impacted products
Name
Rust Rust <1.50.0
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-28875",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-28875"
    }
  },
  "description": "Rust\u662f\u4e00\u79cd\u7cfb\u7edf\u7f16\u7a0b\u8bed\u8a00\uff0c\u7279\u70b9\u662f\u8fd0\u884c\u901f\u5ea6\u5feb\uff0c\u80fd\u591f\u9632\u6b62\u6bb5\u9519\u8bef\uff0c\u5e76\u4fdd\u8bc1\u7ebf\u7a0b\u5b89\u5168\u3002\n\nRust 1.50.0\u4e4b\u524d\u7248\u672c\u4e2d\u7684\u6807\u51c6\u5e93\u5b58\u5728\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8eread_to_end()\u5728\u4e0d\u5b89\u5168\u7684\u4e0a\u4e0b\u6587\u4e2d\u4e0d\u9a8c\u8bc1Read\u7684\u8fd4\u56de\u503c\u3002\u76ee\u524d\u6ca1\u6709\u8be6\u7ec6\u7684\u6f0f\u6d1e\u7ec6\u8282\u63d0\u4f9b\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/rust-lang/rust/pull/80895",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-28295",
  "openTime": "2021-04-15",
  "patchDescription": "Rust\u662f\u4e00\u79cd\u7cfb\u7edf\u7f16\u7a0b\u8bed\u8a00\uff0c\u7279\u70b9\u662f\u8fd0\u884c\u901f\u5ea6\u5feb\uff0c\u80fd\u591f\u9632\u6b62\u6bb5\u9519\u8bef\uff0c\u5e76\u4fdd\u8bc1\u7ebf\u7a0b\u5b89\u5168\u3002\r\n\r\nRust 1.50.0\u4e4b\u524d\u7248\u672c\u4e2d\u7684\u6807\u51c6\u5e93\u5b58\u5728\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8eread_to_end()\u5728\u4e0d\u5b89\u5168\u7684\u4e0a\u4e0b\u6587\u4e2d\u4e0d\u9a8c\u8bc1Read\u7684\u8fd4\u56de\u503c\u3002\u76ee\u524d\u6ca1\u6709\u8be6\u7ec6\u7684\u6f0f\u6d1e\u7ec6\u8282\u63d0\u4f9b\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": "Rust\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\uff08CNVD-2021-28295\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "Rust Rust \u003c1.50.0"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2021-28875",
  "serverity": "\u9ad8",
  "submitTime": "2021-04-12",
  "title": "Rust\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\uff08CNVD-2021-28295\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…

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…