cnvd-2016-01483
Vulnerability from cnvd

Title: OpenSSL BIO_printf函数堆内存破坏漏洞

Description:

OpenSSL是一个实现安全套接层和安全传输层协议的通用开源加密库,可支持多种加密算法,包括对称密码、哈希算法、安全散列算法等。

OpenSSL中的BIO_*printf函数通过调用内部函数fmtstr来处理"%s"格式化字符串。fmtstr 函数在计算字符串长度时可能会导致溢出,在打印非常长的字符串时会导致内存越界读的错误。内部doapr_outch 函数在内存分配失败时会尝试越界写内存(会尝试写通过NULL指针偏移后的位置),尝试分配比INT_MAX还大的内存时会触发该漏洞,导致内存泄露。

Severity:

Patch Name: OpenSSL BIO_printf函数堆内存破坏漏洞的补丁

Patch Description:

OpenSSL是一个实现安全套接层和安全传输层协议的通用开源加密库,可支持多种加密算法,包括对称密码、哈希算法、安全散列算法等。

OpenSSL中的BIO_*printf函数通过调用内部函数fmtstr来处理"%s"格式化字符串。fmtstr 函数在计算字符串长度时可能会导致溢出,在打印非常长的字符串时会导致内存越界读的错误。内部doapr_outch 函数在内存分配失败时会尝试越界写内存(会尝试写通过NULL指针偏移后的位置),尝试分配比INT_MAX还大的内存时会触发该漏洞,导致内存泄露。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

厂商已发布漏洞修复方案,请及时关注厂商主页更新修复: https://www.openssl.org/

Reference: https://www.openssl.org/news/secadv/20160301.txt https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0799

Impacted products
Name
['OpenSSL OpenSSL 1.0.2', 'OpenSSL OpenSSL 1.0.1']
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2016-0799"
    }
  },
  "description": "OpenSSL\u662f\u4e00\u4e2a\u5b9e\u73b0\u5b89\u5168\u5957\u63a5\u5c42\u548c\u5b89\u5168\u4f20\u8f93\u5c42\u534f\u8bae\u7684\u901a\u7528\u5f00\u6e90\u52a0\u5bc6\u5e93\uff0c\u53ef\u652f\u6301\u591a\u79cd\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5bf9\u79f0\u5bc6\u7801\u3001\u54c8\u5e0c\u7b97\u6cd5\u3001\u5b89\u5168\u6563\u5217\u7b97\u6cd5\u7b49\u3002 \r\n\r\nOpenSSL\u4e2d\u7684BIO_*printf\u51fd\u6570\u901a\u8fc7\u8c03\u7528\u5185\u90e8\u51fd\u6570fmtstr\u6765\u5904\u7406\"%s\"\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3002fmtstr \u51fd\u6570\u5728\u8ba1\u7b97\u5b57\u7b26\u4e32\u957f\u5ea6\u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6ea2\u51fa\uff0c\u5728\u6253\u5370\u975e\u5e38\u957f\u7684\u5b57\u7b26\u4e32\u65f6\u4f1a\u5bfc\u81f4\u5185\u5b58\u8d8a\u754c\u8bfb\u7684\u9519\u8bef\u3002\u5185\u90e8doapr_outch \u51fd\u6570\u5728\u5185\u5b58\u5206\u914d\u5931\u8d25\u65f6\u4f1a\u5c1d\u8bd5\u8d8a\u754c\u5199\u5185\u5b58\uff08\u4f1a\u5c1d\u8bd5\u5199\u901a\u8fc7NULL\u6307\u9488\u504f\u79fb\u540e\u7684\u4f4d\u7f6e\uff09\uff0c\u5c1d\u8bd5\u5206\u914d\u6bd4INT_MAX\u8fd8\u5927\u7684\u5185\u5b58\u65f6\u4f1a\u89e6\u53d1\u8be5\u6f0f\u6d1e\uff0c\u5bfc\u81f4\u5185\u5b58\u6cc4\u9732\u3002",
  "discovererName": "Guido Vranken",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u6f0f\u6d1e\u4fee\u590d\u65b9\u6848\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u5382\u5546\u4e3b\u9875\u66f4\u65b0\u4fee\u590d\uff1a\r\nhttps://www.openssl.org/",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2016-01483",
  "openTime": "2016-03-08",
  "patchDescription": "OpenSSL\u662f\u4e00\u4e2a\u5b9e\u73b0\u5b89\u5168\u5957\u63a5\u5c42\u548c\u5b89\u5168\u4f20\u8f93\u5c42\u534f\u8bae\u7684\u901a\u7528\u5f00\u6e90\u52a0\u5bc6\u5e93\uff0c\u53ef\u652f\u6301\u591a\u79cd\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5bf9\u79f0\u5bc6\u7801\u3001\u54c8\u5e0c\u7b97\u6cd5\u3001\u5b89\u5168\u6563\u5217\u7b97\u6cd5\u7b49\u3002 \r\n\r\nOpenSSL\u4e2d\u7684BIO_*printf\u51fd\u6570\u901a\u8fc7\u8c03\u7528\u5185\u90e8\u51fd\u6570fmtstr\u6765\u5904\u7406\"%s\"\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3002fmtstr \u51fd\u6570\u5728\u8ba1\u7b97\u5b57\u7b26\u4e32\u957f\u5ea6\u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6ea2\u51fa\uff0c\u5728\u6253\u5370\u975e\u5e38\u957f\u7684\u5b57\u7b26\u4e32\u65f6\u4f1a\u5bfc\u81f4\u5185\u5b58\u8d8a\u754c\u8bfb\u7684\u9519\u8bef\u3002\u5185\u90e8doapr_outch \u51fd\u6570\u5728\u5185\u5b58\u5206\u914d\u5931\u8d25\u65f6\u4f1a\u5c1d\u8bd5\u8d8a\u754c\u5199\u5185\u5b58\uff08\u4f1a\u5c1d\u8bd5\u5199\u901a\u8fc7NULL\u6307\u9488\u504f\u79fb\u540e\u7684\u4f4d\u7f6e\uff09\uff0c\u5c1d\u8bd5\u5206\u914d\u6bd4INT_MAX\u8fd8\u5927\u7684\u5185\u5b58\u65f6\u4f1a\u89e6\u53d1\u8be5\u6f0f\u6d1e\uff0c\u5bfc\u81f4\u5185\u5b58\u6cc4\u9732\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": "OpenSSL BIO_printf\u51fd\u6570\u5806\u5185\u5b58\u7834\u574f\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "OpenSSL  OpenSSL 1.0.2",
      "OpenSSL  OpenSSL 1.0.1"
    ]
  },
  "referenceLink": "https://www.openssl.org/news/secadv/20160301.txt\r\nhttps://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-0799",
  "serverity": "\u4f4e",
  "submitTime": "2016-03-02",
  "title": "OpenSSL BIO_printf\u51fd\u6570\u5806\u5185\u5b58\u7834\u574f\u6f0f\u6d1e"
}


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…