7.8
HIGH
CVE-2021-36770
Apache Encode Privilege Escalation vulnerability
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.

INFO

Published Date :

Aug. 11, 2021, 11:15 p.m.

Last Modified :

Nov. 7, 2023, 3:36 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2021-36770 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-36770 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 P5-encode_project p5-encode

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

ANALYSIS OF THE PROPOSAL PREPARATION PROCESS OF ANNUAL BUDGET LAW IN A PUBLIC INSTITUTION FEDERAL HIGHER EDUCATION

Shell Perl Raku Makefile C++

Updated: 5 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : April 11, 2024, 6:19 a.m. This repo has been linked 5 different CVEs too.

Optimal Control of Evolution Differential Inclusions with Polynomial Linear Differential Operators

R Pascal Perl HTML

Updated: 5 months ago
0 stars 0 fork 0 watcher
Born at : April 9, 2024, 10:41 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-36770 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-36770 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/
  • CWE Remap by [email protected]

    May. 03, 2022

    Action Type Old Value New Value
    Changed CWE CWE-426 CWE-427
  • Modified Analysis by [email protected]

    Sep. 21, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/ Mailing List, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210909-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20210909-0003/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 09, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210909-0003/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 25, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 20, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74 No Types Assigned https://github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74 Patch, Third Party Advisory
    Changed Reference Type https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9 No Types Assigned https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9 Patch, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/ Mailing List, Third Party Advisory
    Changed Reference Type https://metacpan.org/dist/Encode/changes No Types Assigned https://metacpan.org/dist/Encode/changes Third Party Advisory
    Changed Reference Type https://news.cpanel.com/unscheduled-tsr-10-august-2021/ No Types Assigned https://news.cpanel.com/unscheduled-tsr-10-august-2021/ Third Party Advisory
    Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2021-36770 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2021-36770 Third Party Advisory
    Added CWE NIST CWE-426
    Added CPE Configuration AND OR *cpe:2.3:a:p5-encode_project:p5-encode:*:*:*:*:*:*:*:* versions from (including) 3.05 up to (excluding) 3.12 OR cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* versions up to (including) 5.34.0
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 13, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-36770 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-36770 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.09 }} -0.00%

score

0.37755

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability