CVE-2021-36770
CVSS V2 Medium 6.8
CVSS V3 High 7.8
Description
Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a Trojan horse Encode::ConfigLocal library (in the current working directory) that preempts dynamic module loading. Exploitation requires an unusual configuration, and certain 2021 versions of Encode.pm (3.05 through 3.11). This issue occurs because the || operator evaluates @INC in a scalar context, and thus @INC has only an integer value.
Overview
- CVE ID
- CVE-2021-36770
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-11T23:15:07
- Last Modified Date
- 2022-05-03T16:04:40
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:p5-encode_project:p5-encode:*:*:*:*:*:*:*:* | 1 | OR | 3.05 | 3.12 |
cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* | 0 | OR | 5.34.0 | |
AND | ||||
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 1 | OR | ||
AND | ||||
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://security-tracker.debian.org/tracker/CVE-2021-36770 | Third Party Advisory |
https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9 | Patch Third Party Advisory |
https://news.cpanel.com/unscheduled-tsr-10-august-2021/ | Third Party Advisory |
https://metacpan.org/dist/Encode/changes | Third Party Advisory |
https://github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74 | Patch Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/ | Mailing List Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210909-0003/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-36770 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-36770 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-08 06:19:48 | Added to TrackCVE | |||
2022-12-05 07:59:33 | 2021-08-11T23:15Z | 2021-08-11T23:15:07 | CVE Published Date | updated |
2022-12-05 07:59:33 | 2022-05-03T16:04:40 | CVE Modified Date | updated | |
2022-12-05 07:59:33 | Analyzed | Vulnerability Status | updated |