CVE-2021-3697

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3697
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3697.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3697
Related
Published
2022-07-06T16:15:08Z
Modified
2024-09-11T04:48:15.909151Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.

References

Affected packages

Alpine:v3.15 / grub

Package

Name
grub
Purl
pkg:apk/alpine/grub?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-r3

Affected versions

2.*

2.02_beta3-r0
2.02_beta3-r1
2.02_beta3-r2
2.02_beta3-r3
2.02_beta3-r4
2.02_beta3-r5
2.02_beta3-r6
2.02_beta3-r7
2.02-r0
2.02-r1
2.02-r2
2.02-r3
2.02-r4
2.02-r5
2.02-r6
2.02-r7
2.02-r8
2.02-r9
2.02-r10
2.02-r11
2.02-r12
2.02-r13
2.02-r14
2.02-r15
2.02-r16
2.02-r17
2.02-r18
2.02-r19
2.02-r20
2.04-r0
2.04-r1
2.04-r2
2.04-r3
2.06-r0
2.06-r1
2.06-r2

Alpine:v3.16 / grub

Package

Name
grub
Purl
pkg:apk/alpine/grub?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-r3

Affected versions

2.*

2.02_beta3-r0
2.02_beta3-r1
2.02_beta3-r2
2.02_beta3-r3
2.02_beta3-r4
2.02_beta3-r5
2.02_beta3-r6
2.02_beta3-r7
2.02-r0
2.02-r1
2.02-r2
2.02-r3
2.02-r4
2.02-r5
2.02-r6
2.02-r7
2.02-r8
2.02-r9
2.02-r10
2.02-r11
2.02-r12
2.02-r13
2.02-r14
2.02-r15
2.02-r16
2.02-r17
2.02-r18
2.02-r19
2.02-r20
2.04-r0
2.04-r1
2.04-r2
2.04-r3
2.06-r0
2.06-r1
2.06-r2

Alpine:v3.17 / grub

Package

Name
grub
Purl
pkg:apk/alpine/grub?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-r8

Affected versions

2.*

2.02_beta3-r0
2.02_beta3-r1
2.02_beta3-r2
2.02_beta3-r3
2.02_beta3-r4
2.02_beta3-r5
2.02_beta3-r6
2.02_beta3-r7
2.02-r0
2.02-r1
2.02-r2
2.02-r3
2.02-r4
2.02-r5
2.02-r6
2.02-r7
2.02-r8
2.02-r9
2.02-r10
2.02-r11
2.02-r12
2.02-r13
2.02-r14
2.02-r15
2.02-r16
2.02-r17
2.02-r18
2.02-r19
2.02-r20
2.04-r0
2.04-r1
2.04-r2
2.04-r3
2.06-r0
2.06-r1
2.06-r2
2.06-r3
2.06-r4
2.06-r5
2.06-r6
2.06-r7

Alpine:v3.18 / grub

Package

Name
grub
Purl
pkg:apk/alpine/grub?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-r12

Affected versions

2.*

2.02_beta3-r0
2.02_beta3-r1
2.02_beta3-r2
2.02_beta3-r3
2.02_beta3-r4
2.02_beta3-r5
2.02_beta3-r6
2.02_beta3-r7
2.02-r0
2.02-r1
2.02-r2
2.02-r3
2.02-r4
2.02-r5
2.02-r6
2.02-r7
2.02-r8
2.02-r9
2.02-r10
2.02-r11
2.02-r12
2.02-r13
2.02-r14
2.02-r15
2.02-r16
2.02-r17
2.02-r18
2.02-r19
2.02-r20
2.04-r0
2.04-r1
2.04-r2
2.04-r3
2.06-r0
2.06-r1
2.06-r2
2.06-r3
2.06-r4
2.06-r5
2.06-r6
2.06-r7
2.06-r8
2.06-r9
2.06-r10
2.06-r11

Alpine:v3.19 / grub

Package

Name
grub
Purl
pkg:apk/alpine/grub?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-r13

Affected versions

2.*

2.02_beta3-r0
2.02_beta3-r1
2.02_beta3-r2
2.02_beta3-r3
2.02_beta3-r4
2.02_beta3-r5
2.02_beta3-r6
2.02_beta3-r7
2.02-r0
2.02-r1
2.02-r2
2.02-r3
2.02-r4
2.02-r5
2.02-r6
2.02-r7
2.02-r8
2.02-r9
2.02-r10
2.02-r11
2.02-r12
2.02-r13
2.02-r14
2.02-r15
2.02-r16
2.02-r17
2.02-r18
2.02-r19
2.02-r20
2.04-r0
2.04-r1
2.04-r2
2.04-r3
2.06-r0
2.06-r1
2.06-r2
2.06-r3
2.06-r4
2.06-r5
2.06-r6
2.06-r7
2.06-r8
2.06-r9
2.06-r10
2.06-r11
2.06-r12

Alpine:v3.20 / grub

Package

Name
grub
Purl
pkg:apk/alpine/grub?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-r13

Affected versions

2.*

2.02_beta3-r0
2.02_beta3-r1
2.02_beta3-r2
2.02_beta3-r3
2.02_beta3-r4
2.02_beta3-r5
2.02_beta3-r6
2.02_beta3-r7
2.02-r0
2.02-r1
2.02-r2
2.02-r3
2.02-r4
2.02-r5
2.02-r6
2.02-r7
2.02-r8
2.02-r9
2.02-r10
2.02-r11
2.02-r12
2.02-r13
2.02-r14
2.02-r15
2.02-r16
2.02-r17
2.02-r18
2.02-r19
2.02-r20
2.04-r0
2.04-r1
2.04-r2
2.04-r3
2.06-r0
2.06-r1
2.06-r2
2.06-r3
2.06-r4
2.06-r5
2.06-r6
2.06-r7
2.06-r8
2.06-r9
2.06-r10
2.06-r11
2.06-r12

Debian:11 / grub2

Package

Name
grub2
Purl
pkg:deb/debian/grub2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-3~deb11u1

Affected versions

2.*

2.04-20
2.06-1
2.06-2
2.06-2+hurd.1
2.06-2+hurd.2
2.06-2+hurd.3
2.06-2+hurd.4
2.06-2+hurd.5
2.06-2+hurd.6
2.06-2+hurd.7
2.06-2+hurd.8
2.06-3~deb10u1
2.06-3~deb10u2
2.06-3~deb10u3
2.06-3~deb10u4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / grub2

Package

Name
grub2
Purl
pkg:deb/debian/grub2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / grub2

Package

Name
grub2
Purl
pkg:deb/debian/grub2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}