Common Weakness Enumeration

CWE-1056

Weakness Prohibited

Invokable Control Element with Variadic Parameters

Abstraction: Base · Status: Incomplete

A named-callable or method control element has a signature that supports a variable (variadic) number of parameters or arguments.

Mapping guidance

This entry is primarily a quality issue with no direct security implications.

Look for weaknesses that are focused specifically on insecure behaviors that have more direct security implications.

Relationships and members
ChildOf: CWE-1120 · View CWE-1000
Modes of introduction
Implementation
Detection methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

Content history
Submission: CWE Content Team · MITRE · 2018-07-02 · CWE 3.2

Entry derived from Common Quality Enumeration (CQE) Draft 0.9.

Modification: CWE Content Team · MITRE · 2020-02-24 · CWE 4.0

updated Relationships

Modification: CWE Content Team · MITRE · 2023-01-31 · CWE 4.10

updated Description

Modification: CWE Content Team · MITRE · 2023-04-27 · CWE 4.11

updated Relationships

Modification: CWE Content Team · MITRE · 2023-06-29 · CWE 4.12

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2024-02-29 · CWE 4.14

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2025-12-11 · CWE 4.19

updated Applicable_Platforms, Common_Consequences, Description, Detection_Factors, Time_of_Introduction

1 vulnerability references this CWE, most recent first.

GHSA-HHX9-P69V-CX2J

Vulnerability from github – Published: 2021-04-30 17:34 – Updated: 2025-10-22 17:56
VLAI
Summary
Authentication bypass in Apache Airflow
Details

The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default [api]auth_backend = airflow.api.auth.backend.deny_all as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "apache-airflow"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2020-13927"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-1056",
      "CWE-1188",
      "CWE-287",
      "CWE-306"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-20T19:30:46Z",
    "nvd_published_at": "2020-11-10T16:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "The previous default setting for Airflow\u0027s Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default `[api]auth_backend = airflow.api.auth.backend.deny_all` as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default",
  "id": "GHSA-hhx9-p69v-cx2j",
  "modified": "2025-10-22T17:56:14Z",
  "published": "2021-04-30T17:34:13Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13927"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/airflow/pull/9611"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/airflow/commit/180bca4f993b7b778a8d2c65d3d357652218922b"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/airflow/commit/9e305d6b810a2a21e2591a80a80ec41acb3afed0"
    },
    {
      "type": "WEB",
      "url": "https://airflow.apache.org/docs/apache-airflow/1.10.11/security.html#api-authentication"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-hhx9-p69v-cx2j"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/apache/airflow"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apache/airflow/releases/tag/1.10.11"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2020-18.yaml"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/r23a81b247aa346ff193670be565b2b8ea4b17ddbc7a35fc099c1aadd%40%3Cdev.airflow.apache.org%3E"
    },
    {
      "type": "WEB",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13927"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Authentication bypass in Apache Airflow"
}

No mitigation information available for this CWE.

No CAPEC attack patterns related to this CWE.