Packages / canvas / Security

HighVulnerabilityGHSA-73rg-x683-m3qwCVE-2020-8215Published 7 May 2021

Buffer overflow in canvas

Affected releases · canvas

  • 1.x1.0.0 – 1.6.10Fixed in 1.6.11
  • 0.13.x and older0.0.1 – 0.13.1No fix, no longer updated

On 1.x, the newest line:

npm install canvas@1.6.11
3.x
  1. Not affected

    3.0.0 – 3.2.3

    9 releases, latest

1.x
  1. Affected

    1.0.0 – 1.6.10

    54 releases

  2. Fixed

    1.6.11 – 1.6.13

    3 releases

0.x
  1. Affected

    0.0.1 – 0.13.1

    46 releases

135 stable releases of canvas, oldest to newest, one row per major.

Is your project affected?

Paste your package.json, or type the range you declare for canvas. It is read in your browser and sent nowhere.

What happens

A buffer overflow is present in canvas versions before 1.6.11, which could lead to a Denial of Service or execution of arbitrary code when it processes a user-provided image.