ALPINE-CVE-2021-3697

Source
https://security.alpinelinux.org/vuln/CVE-2021-3697
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2021-3697
Upstream
Published
2022-07-06T16:15:08Z
Modified
2026-08-27T22:17:55Z
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
0 Unknown introduced version / All previous versions are affected
Fixed
2.06-r3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.16
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.17
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.18
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.19
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.20
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.21
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.22
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.23
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"
Alpine:v3.24
grub

Package

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

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-3697.json"