CNVD-2021-25963

Vulnerability from cnvd - Published: 2021-04-08
VLAI
Title
Imagemagick Studio ImageMagick输入验证错误漏洞(CNVD-2021-25963)
Description
Imagemagick Studio ImageMagick是美国ImageMagick Studio(Imagemagick Studio)公司的一套开源的图像处理软件。该软件可读取、转换或写入多种格式的图片。 ImageMagick 7.0.9-0之前版本存在安全漏洞,该漏洞源于在/MagickCore/pixel.c的CatromWeights(),MeshInterpolate(),InterpolatePixelChannel(),InterpolatePixelChannels()和InterpolatePixelInfo()函数。使用了多个不受约束的像素偏移量计算。这些计算产生了超出范围和整数溢出形式的未定义行为,由UndefinedBehaviorSanitizer确认。能够提供由ImageMagick处理的精心制作的输入文件的攻击者可利用该漏洞可以触发这些未定义行为的实例。
Severity
中
Patch Name
Imagemagick Studio ImageMagick输入验证错误漏洞(CNVD-2021-25963)的补丁
Patch Description
Imagemagick Studio ImageMagick是美国ImageMagick Studio(Imagemagick Studio)公司的一套开源的图像处理软件。该软件可读取、转换或写入多种格式的图片。 ImageMagick 7.0.9-0之前版本存在安全漏洞,该漏洞源于在/MagickCore/pixel.c的CatromWeights(),MeshInterpolate(),InterpolatePixelChannel(),InterpolatePixelChannels()和InterpolatePixelInfo()函数。使用了多个不受约束的像素偏移量计算。这些计算产生了超出范围和整数溢出形式的未定义行为,由UndefinedBehaviorSanitizer确认。能够提供由ImageMagick处理的精心制作的输入文件的攻击者可利用该漏洞可以触发这些未定义行为的实例。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://github.com/ImageMagick/ImageMagick/commit/406da3af9e09649cda152663c179902edf5ab3ac

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-25676
Impacted products
Name
ImageMagick Studio ImageMagick <7.0.9-0
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-25676",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2020-25676"
    }
  },
  "description": "Imagemagick Studio ImageMagick\u662f\u7f8e\u56fdImageMagick Studio\uff08Imagemagick Studio\uff09\u516c\u53f8\u7684\u4e00\u5957\u5f00\u6e90\u7684\u56fe\u50cf\u5904\u7406\u8f6f\u4ef6\u3002\u8be5\u8f6f\u4ef6\u53ef\u8bfb\u53d6\u3001\u8f6c\u6362\u6216\u5199\u5165\u591a\u79cd\u683c\u5f0f\u7684\u56fe\u7247\u3002\n\nImageMagick 7.0.9-0\u4e4b\u524d\u7248\u672c\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728/MagickCore/pixel.c\u7684CatromWeights()\uff0cMeshInterpolate()\uff0cInterpolatePixelChannel()\uff0cInterpolatePixelChannels()\u548cInterpolatePixelInfo()\u51fd\u6570\u3002\u4f7f\u7528\u4e86\u591a\u4e2a\u4e0d\u53d7\u7ea6\u675f\u7684\u50cf\u7d20\u504f\u79fb\u91cf\u8ba1\u7b97\u3002\u8fd9\u4e9b\u8ba1\u7b97\u4ea7\u751f\u4e86\u8d85\u51fa\u8303\u56f4\u548c\u6574\u6570\u6ea2\u51fa\u5f62\u5f0f\u7684\u672a\u5b9a\u4e49\u884c\u4e3a\uff0c\u7531UndefinedBehaviorSanitizer\u786e\u8ba4\u3002\u80fd\u591f\u63d0\u4f9b\u7531ImageMagick\u5904\u7406\u7684\u7cbe\u5fc3\u5236\u4f5c\u7684\u8f93\u5165\u6587\u4ef6\u7684\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u53ef\u4ee5\u89e6\u53d1\u8fd9\u4e9b\u672a\u5b9a\u4e49\u884c\u4e3a\u7684\u5b9e\u4f8b\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1ahttps://github.com/ImageMagick/ImageMagick/commit/406da3af9e09649cda152663c179902edf5ab3ac",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-25963",
  "openTime": "2021-04-08",
  "patchDescription": "Imagemagick Studio ImageMagick\u662f\u7f8e\u56fdImageMagick Studio\uff08Imagemagick Studio\uff09\u516c\u53f8\u7684\u4e00\u5957\u5f00\u6e90\u7684\u56fe\u50cf\u5904\u7406\u8f6f\u4ef6\u3002\u8be5\u8f6f\u4ef6\u53ef\u8bfb\u53d6\u3001\u8f6c\u6362\u6216\u5199\u5165\u591a\u79cd\u683c\u5f0f\u7684\u56fe\u7247\u3002\r\n\r\nImageMagick 7.0.9-0\u4e4b\u524d\u7248\u672c\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728/MagickCore/pixel.c\u7684CatromWeights()\uff0cMeshInterpolate()\uff0cInterpolatePixelChannel()\uff0cInterpolatePixelChannels()\u548cInterpolatePixelInfo()\u51fd\u6570\u3002\u4f7f\u7528\u4e86\u591a\u4e2a\u4e0d\u53d7\u7ea6\u675f\u7684\u50cf\u7d20\u504f\u79fb\u91cf\u8ba1\u7b97\u3002\u8fd9\u4e9b\u8ba1\u7b97\u4ea7\u751f\u4e86\u8d85\u51fa\u8303\u56f4\u548c\u6574\u6570\u6ea2\u51fa\u5f62\u5f0f\u7684\u672a\u5b9a\u4e49\u884c\u4e3a\uff0c\u7531UndefinedBehaviorSanitizer\u786e\u8ba4\u3002\u80fd\u591f\u63d0\u4f9b\u7531ImageMagick\u5904\u7406\u7684\u7cbe\u5fc3\u5236\u4f5c\u7684\u8f93\u5165\u6587\u4ef6\u7684\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u53ef\u4ee5\u89e6\u53d1\u8fd9\u4e9b\u672a\u5b9a\u4e49\u884c\u4e3a\u7684\u5b9e\u4f8b\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": "Imagemagick Studio ImageMagick\u8f93\u5165\u9a8c\u8bc1\u9519\u8bef\u6f0f\u6d1e\uff08CNVD-2021-25963\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "ImageMagick Studio ImageMagick \u003c7.0.9-0"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-25676",
  "serverity": "\u4e2d",
  "submitTime": "2020-12-15",
  "title": "Imagemagick Studio ImageMagick\u8f93\u5165\u9a8c\u8bc1\u9519\u8bef\u6f0f\u6d1e\uff08CNVD-2021-25963\uff09"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.