It was discovered that Highlight.js used plain JavaScript objects for internal language name lookups, making them susceptible to prototype pollution attacks. An attacker could use this to cause a denial of service or unexpected application behaviour.
{
"binaries": [
{
"binary_version": "8.2+ds-4ubuntu0.1~esm1",
"binary_name": "libjs-highlight"
},
{
"binary_version": "8.2+ds-4ubuntu0.1~esm1",
"binary_name": "libjs-highlight.js"
},
{
"binary_version": "8.2+ds-4ubuntu0.1~esm1",
"binary_name": "node-highlight"
},
{
"binary_version": "8.2+ds-4ubuntu0.1~esm1",
"binary_name": "node-highlight.js"
}
],
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
}
{
"binaries": [
{
"binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
"binary_name": "libjs-highlight"
},
{
"binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
"binary_name": "libjs-highlight.js"
},
{
"binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
"binary_name": "node-highlight"
},
{
"binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
"binary_name": "node-highlight.js"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
{
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2020-26237"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json"
{
"binaries": [
{
"binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
"binary_name": "libjs-highlight"
},
{
"binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
"binary_name": "libjs-highlight.js"
},
{
"binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
"binary_name": "node-highlight"
},
{
"binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
"binary_name": "node-highlight.js"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
{
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2020-26237"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json"