USN-5006-1 (UBUNTU-CVE-2020-7068)

Vulnerability from osv_ubuntu – Published: 2021-07-07 12:11 – Updated: 2026-04-22 07:37 – Source website
VLAI
Summary
php7.2, php7.4 vulnerabilities
Details

It was discovered that PHP incorrectly handled certain PHAR files. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service, or possibly obtain sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-7068)

It was discovered that PHP incorrectly handled parsing URLs with passwords. A remote attacker could possibly use this issue to cause PHP to mis-parse the URL and produce wrong data. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 20.10. (CVE-2020-7071)

It was discovered that PHP incorrectly handled certain malformed XML data when being parsed by the SOAP extension. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 20.10. (CVE-2021-21702)

It was discovered that PHP incorrectly handled the pdo_firebase module. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2021-21704)

It was discovered that PHP incorrectly handled the FILTER_VALIDATE_URL check. A remote attacker could possibly use this issue to perform a server- side request forgery attack. (CVE-2021-21705)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-7068",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2020-7071",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-21702",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-21704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-21705",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php7.2",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "libphp7.2-embed",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-bcmath",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-bz2",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-cgi",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-cli",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-common",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-curl",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-dba",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-enchant",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-fpm",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-gd",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-gmp",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-imap",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-interbase",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-intl",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-json",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-ldap",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-mbstring",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-mysql",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-odbc",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-opcache",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-pgsql",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-phpdbg",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-pspell",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-readline",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-recode",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-snmp",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-soap",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-sqlite3",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-sybase",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-tidy",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-xml",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-xmlrpc",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-xsl",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          },
          {
            "binary_name": "php7.2-zip",
            "binary_version": "7.2.24-0ubuntu0.18.04.8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "php7.2",
        "purl": "pkg:deb/ubuntu/php7.2@7.2.24-0ubuntu0.18.04.8?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.2.24-0ubuntu0.18.04.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.2.1-1ubuntu2",
        "7.2.2-1ubuntu1",
        "7.2.2-1ubuntu2",
        "7.2.3-1ubuntu1",
        "7.2.5-0ubuntu0.18.04.1",
        "7.2.7-0ubuntu0.18.04.1",
        "7.2.7-0ubuntu0.18.04.2",
        "7.2.10-0ubuntu0.18.04.1",
        "7.2.15-0ubuntu0.18.04.1",
        "7.2.15-0ubuntu0.18.04.2",
        "7.2.17-0ubuntu0.18.04.1",
        "7.2.19-0ubuntu0.18.04.1",
        "7.2.19-0ubuntu0.18.04.2",
        "7.2.24-0ubuntu0.18.04.1",
        "7.2.24-0ubuntu0.18.04.2",
        "7.2.24-0ubuntu0.18.04.3",
        "7.2.24-0ubuntu0.18.04.4",
        "7.2.24-0ubuntu0.18.04.6",
        "7.2.24-0ubuntu0.18.04.7"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-7068",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2020-7071",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-21702",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-21704",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-21705",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php7.4",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "libphp7.4-embed",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-bcmath",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-bz2",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-cgi",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-cli",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-common",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-curl",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-dba",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-enchant",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-fpm",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-gd",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-gmp",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-imap",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-interbase",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-intl",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-json",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-ldap",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-mbstring",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-mysql",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-odbc",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-opcache",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-pgsql",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-phpdbg",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-pspell",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-readline",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-snmp",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-soap",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-sqlite3",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-sybase",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-tidy",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-xml",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-xmlrpc",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-xsl",
            "binary_version": "7.4.3-4ubuntu2.5"
          },
          {
            "binary_name": "php7.4-zip",
            "binary_version": "7.4.3-4ubuntu2.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "php7.4",
        "purl": "pkg:deb/ubuntu/php7.4@7.4.3-4ubuntu2.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.4.3-4ubuntu2.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.4.3-4build1",
        "7.4.3-4build2",
        "7.4.3-4ubuntu1",
        "7.4.3-4ubuntu1.1",
        "7.4.3-4ubuntu2.2",
        "7.4.3-4ubuntu2.4"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that PHP incorrectly handled certain PHAR files. A remote\nattacker could possibly use this issue to cause PHP to crash, resulting in\na denial of service, or possibly obtain sensitive information. This issue\nonly affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-7068)\n\nIt was discovered that PHP incorrectly handled parsing URLs with passwords.\nA remote attacker could possibly use this issue to cause PHP to mis-parse\nthe URL and produce wrong data. This issue only affected Ubuntu 18.04 LTS,\nUbuntu 20.04 LTS, and Ubuntu 20.10. (CVE-2020-7071)\n\nIt was discovered that PHP incorrectly handled certain malformed XML data\nwhen being parsed by the SOAP extension. A remote attacker could possibly\nuse this issue to cause PHP to crash, resulting in a denial of service.\nThis issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu\n20.10. (CVE-2021-21702)\n\nIt was discovered that PHP incorrectly handled the pdo_firebase module. A\nremote attacker could possibly use this issue to cause PHP to crash,\nresulting in a denial of service. (CVE-2021-21704)\n\nIt was discovered that PHP incorrectly handled the FILTER_VALIDATE_URL\ncheck. A remote attacker could possibly use this issue to perform a server-\nside request forgery attack. (CVE-2021-21705)\n",
  "id": "USN-5006-1",
  "modified": "2026-04-22T07:37:00Z",
  "published": "2021-07-07T12:11:57Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5006-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-7068"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-7071"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-21702"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-21704"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-21705"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "php7.2, php7.4 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2020-7068",
    "UBUNTU-CVE-2020-7071",
    "UBUNTU-CVE-2021-21702",
    "UBUNTU-CVE-2021-21704",
    "UBUNTU-CVE-2021-21705"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.