HighCVE-2020-27216

    The Eclipse Foundation Eclipse Jetty: Creation of Temporary File With Insecure Permissions (CVE-2020-27216)

    Published Sources: Red Hat, BSI, Debian, OSV, CVE.org

    What is affected, what to do

    In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory.

    An exploit is publicly available. Update jetty to version 9.3.29, jd_edwards_enterpriseone_tools to version 9.2.6.0, ECS to version 3.8.1.0.

    Affected
    • The Eclipse Foundation Eclipse Jetty eq 1.0 to 9.4.32.v20200930..1.0 to 9.4.32.v20200930
    • The Eclipse Foundation Eclipse Jetty eq 10.0.0.alpha1 to 10.0.0.beta2..10.0.0.alpha1 to 10.0.0.beta2
    • The Eclipse Foundation Eclipse Jetty eq 11.0.0.alpha1 to 11.0.0.beta2..11.0.0.alpha1 to 11.0.0.beta2

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    7.0

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    7.0

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: Red Hat, BSI, Debian, OSV, CVE.org

    4.4 %

    EPSS score

    Moderate — model estimates 1-10% exploitation likelihood.

    Source: FIRST EPSS, percentile 91.2

    Show all metrics
    Severity
    High
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    101.51 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    PoC (publicly reported)
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    7.0 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    7.0
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    4.4 %
    Moderate — model estimates 1-10% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    91.2
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-378, CWE-379

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.

    Source: redhat_csaf, BSI CSAF, BSI WID Portal, Debian Security Advisories, OSV (Open Source Vulnerabilities), NVD (NIST), cvelistv5

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    The Eclipse FoundationEclipse Jetty
    • 1.0 to 9.4.32.v20200930
    • 11.0.0.alpha1 to 11.0.0.beta2
    • 10.0.0.alpha1 to 10.0.0.beta2
    • —
    • —
    • —
    apachebeam
    • 2.22.0
    • 2.21.0
    • 2.24.0
    • 2.25.0
    • 2.23.0
    • —
    • —
    • —
    • —
    • —
    eclipsejetty
    • 11.0.0
    • 10.0.0
    • 9.4.0 – ≤ 9.4.32
    • 1.0 – < 9.3.29
    • —
    • —
    • —
    • 9.3.29
    netappsnap_creator_framework
    • —
    • —
    netappsnapcenter
    • —
    • —
    netappstorage_replication_adapter
    • ≥ 7.2
    • —
    netappvasa_provider
    • ≥ 7.2
    • —
    netappvirtual_storage_console
    • ≥ 7.2
    • —
    oraclecommunications_application_session_controller
    • 3.9m0p2
    • —
    oraclecommunications_converged_application_server_-_service_controller
    • 6.2
    • —
    oraclecommunications_element_manager
    • 8.2.1 – ≤ 8.2.2.1
    • —
    oraclecommunications_offline_mediation_controller
    • 12.0.0.3.0
    • —
    oraclecommunications_pricing_design_center
    • 12.0.0.3.0
    • —
    oraclecommunications_services_gatekeeper
    • 7.0
    • —
    oracleflexcube_core_banking
    • 11.5.0 – ≤ 11.9.0
    • —
    oracleflexcube_private_banking
    • 12.0.0
    • 12.1.0
    • —
    • —
    oraclejd_edwards_enterpriseone_tools
    • < 9.2.6.0
    • 9.2.6.0
    oraclesiebel_core_-_automation
    • ≤ 21.5
    • —
    DellECS
    • < 3.8.1.0
    • 3.8.1.0
    mavenorg.eclipse.jetty:jetty-webapp
    • 9.0.0.M5
    • 8.1.17.v20150415
    • 7.6.4.v20120524
    • 9.4.10.RC1
    • 8.1.0.RC5
    • 9.3.18.v20170406
    • 9.2.29.v20191105
    • 7.6.0.RC0
    • 9.4.7.v20180619
    • 8.0.3.v20111011
    • 7.1.4.v20100610
    • 9.4.18.v20190429
    • 9.3.27.v20190418
    • 9.0.0.M4
    • 9.1.0.M0
    • 9.4.0.RC0
    • 9.2.21.v20170120
    • 9.3.0.M2
    • 9.3.24.v20180605
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —

    Vendors and products

    Affected operating systems

    Affected operating systems
    Linuxdebiandebian_linux10.0
    Linuxdebiandebian_linux9.0
    Linuxdebianjetty9buster

    Weakness classes (CWE)

    • CWE-378Creation of Temporary File With Insecure Permissions

      Base

      Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.

      Entry at MITRE CWE-378
    • CWE-379Creation of Temporary File in Directory with Insecure Permissions

      Base

      The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.

      Entry at MITRE CWE-379

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    Reference tagged as exploitgithub.com (opens in a new tab)PoC (publicly reported)reported, not verified—

    References & sources

    • github.comeclipse/jetty.project/security/advisories/GHSA-g3wg-6mcf-8jj6web
    • github.comeclipse/jetty.project/security/advisories/GHSA-g3wg-6mcf-8jj6web, x_refsource_CONFIRM, Exploit, Mitigation, Third-party advisory
    • NVD (NIST)vuln/detail/CVE-2020-27216advisory
    • github.comeclipse/jetty.project/issues/5451web
    • github.comgithub/codeql/pull/4473web
    • lists.apache.orgthread.html/raa9c370ab42d737e93bc1795bb6a2187d7c60210cd5e3b3ce8…web
    • lists.apache.orgthread.html/rad255c736fad46135f1339408cb0147d0671e45c376c3be85c…web
    • lists.apache.orgthread.html/rae15d73cabef55bad148e4e6449b05da95646a2a8db3fc938e…web
    • lists.apache.orgthread.html/raf9c581b793c30ff8f55f2415c7bd337eb69775aae607bf9ed…web
    • lists.apache.orgthread.html/rafb023a7c61180a1027819678eb2068b0b60cd5c2559cb8490…web
    • lists.apache.orgthread.html/rb077d35f2940191daeefca0d6449cddb2e9d06bcf8f5af4da2…web
    • lists.apache.orgthread.html/rb5f2558ea2ac63633dfb04db1e8a6ea6bb1a2b8614899095e1…web
    • lists.apache.orgthread.html/rb69b1d7008a4b3de5ce5867e41a455693907026bc70ead0686…web
    • lists.apache.orgthread.html/rb7e159636b26156f6ef2b2a1a79b3ec9a026923b5456713e68…web
    • lists.apache.orgthread.html/rb81a018f83fe02c95a2138a7bb4f1e1677bd7e1fc1e7024280…web
    • lists.apache.orgthread.html/rb8ad3745cb94c60d44cc369aff436eaf03dbc93112cefc86a2…web
    • lists.apache.orgthread.html/rb8c007f87dc57731a7b9a3b05364530422535b7e0bc6a0c5b6…web
    • lists.apache.orgthread.html/rbc5a622401924fadab61e07393235838918228b3d8a1a67042…web
    • lists.apache.orgthread.html/rbc5a8d7a0a13bc8152d427a7e9097cdeb139c6cfe111b2f00f…web
    • lists.apache.orgthread.html/rbf99e4495461099cad9aa62e0164f8f25a7f97b791b4ace56e…web
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2020-27216
    <a href="https://intel.neosec.eu/en/cve/CVE-2020-27216"><img src="https://intel.neosec.eu/badge/cve/CVE-2020-27216.svg?lang=en" alt="CVE-2020-27216 – NEOSEC Intel" height="20"></a>