CVE-2020-27749

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-27749
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27749.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-27749
Related
Published
2021-03-03T17:15:11Z
Modified
2024-12-05T15:25:03.032990Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution which could also circumvent Secure Boot protections. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

References

Affected packages

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-r0

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

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-r0

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

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-r0

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

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-r0

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

Alpine:v3.21 / 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-r0

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

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.04-16

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.04-16

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.04-16

Ecosystem specific

{
    "urgency": "not yet assigned"
}