ubuntu-cve-2017-5630
Vulnerability from osv_ubuntu
Published
2017-02-01 23:59
Modified
2026-05-20 14:49
Summary
Details

PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and filenames after a redirect, which allows remote HTTP servers to overwrite files via crafted responses, as demonstrated by a .htaccess overwrite.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libapache2-mod-php5",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "libapache2-mod-php5filter",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "libphp5-embed",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php-pear",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-cgi",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-cli",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-common",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-curl",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-enchant",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-fpm",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-gd",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-gmp",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-intl",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-ldap",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-mysql",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-mysqlnd",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-odbc",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-pgsql",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-pspell",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-readline",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-recode",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-snmp",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-sqlite",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-sybase",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-tidy",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-xmlrpc",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          },
          {
            "binary_name": "php5-xsl",
            "binary_version": "5.5.9+dfsg-1ubuntu4.29+esm16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "php5",
        "purl": "pkg:deb/ubuntu/php5@5.5.9+dfsg-1ubuntu4.29+esm16?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.5.3+dfsg-1ubuntu2",
        "5.5.3+dfsg-1ubuntu3",
        "5.5.6+dfsg-1ubuntu1",
        "5.5.6+dfsg-1ubuntu2",
        "5.5.8+dfsg-2ubuntu1",
        "5.5.9+dfsg-1ubuntu1",
        "5.5.9+dfsg-1ubuntu2",
        "5.5.9+dfsg-1ubuntu3",
        "5.5.9+dfsg-1ubuntu4",
        "5.5.9+dfsg-1ubuntu4.1",
        "5.5.9+dfsg-1ubuntu4.2",
        "5.5.9+dfsg-1ubuntu4.3",
        "5.5.9+dfsg-1ubuntu4.4",
        "5.5.9+dfsg-1ubuntu4.5",
        "5.5.9+dfsg-1ubuntu4.6",
        "5.5.9+dfsg-1ubuntu4.7",
        "5.5.9+dfsg-1ubuntu4.9",
        "5.5.9+dfsg-1ubuntu4.11",
        "5.5.9+dfsg-1ubuntu4.12",
        "5.5.9+dfsg-1ubuntu4.13",
        "5.5.9+dfsg-1ubuntu4.14",
        "5.5.9+dfsg-1ubuntu4.16",
        "5.5.9+dfsg-1ubuntu4.17",
        "5.5.9+dfsg-1ubuntu4.19",
        "5.5.9+dfsg-1ubuntu4.20",
        "5.5.9+dfsg-1ubuntu4.21",
        "5.5.9+dfsg-1ubuntu4.22",
        "5.5.9+dfsg-1ubuntu4.23",
        "5.5.9+dfsg-1ubuntu4.24",
        "5.5.9+dfsg-1ubuntu4.25",
        "5.5.9+dfsg-1ubuntu4.26",
        "5.5.9+dfsg-1ubuntu4.27",
        "5.5.9+dfsg-1ubuntu4.29",
        "5.5.9+dfsg-1ubuntu4.29+esm1",
        "5.5.9+dfsg-1ubuntu4.29+esm2",
        "5.5.9+dfsg-1ubuntu4.29+esm3",
        "5.5.9+dfsg-1ubuntu4.29+esm4",
        "5.5.9+dfsg-1ubuntu4.29+esm5",
        "5.5.9+dfsg-1ubuntu4.29+esm6",
        "5.5.9+dfsg-1ubuntu4.29+esm8",
        "5.5.9+dfsg-1ubuntu4.29+esm10",
        "5.5.9+dfsg-1ubuntu4.29+esm11",
        "5.5.9+dfsg-1ubuntu4.29+esm12",
        "5.5.9+dfsg-1ubuntu4.29+esm13",
        "5.5.9+dfsg-1ubuntu4.29+esm14",
        "5.5.9+dfsg-1ubuntu4.29+esm15",
        "5.5.9+dfsg-1ubuntu4.29+esm16"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.1+submodules+notgz-6ubuntu0.3+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.1+submodules+notgz-6ubuntu0.3+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.1+submodules+notgz-4",
        "1:1.10.1+submodules+notgz-6",
        "1:1.10.1+submodules+notgz-6ubuntu0.1",
        "1:1.10.1+submodules+notgz-6ubuntu0.2",
        "1:1.10.1+submodules+notgz-6ubuntu0.3",
        "1:1.10.1+submodules+notgz-6ubuntu0.3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.5+submodules+notgz-1ubuntu1.18.04.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.5+submodules+notgz-1ubuntu1.18.04.4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.5+submodules+notgz-1",
        "1:1.10.5+submodules+notgz-1ubuntu1",
        "1:1.10.5+submodules+notgz-1ubuntu1.18.04.1",
        "1:1.10.5+submodules+notgz-1ubuntu1.18.04.2",
        "1:1.10.5+submodules+notgz-1ubuntu1.18.04.3",
        "1:1.10.5+submodules+notgz-1ubuntu1.18.04.4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.9+submodules+notgz-1ubuntu0.20.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.9+submodules+notgz-1ubuntu0.20.04.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.9+submodules+notgz-1",
        "1:1.10.9+submodules+notgz-1ubuntu0.20.04.1",
        "1:1.10.9+submodules+notgz-1ubuntu0.20.04.2",
        "1:1.10.9+submodules+notgz-1ubuntu0.20.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.12+submodules+notgz+20210212-1ubuntu3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.12+submodules+notgz+20210212-1ubuntu3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.12+submodules+notgz+20210212-1ubuntu1",
        "1:1.10.12+submodules+notgz+20210212-1ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.13+submodules+notgz+2022032202-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.13+submodules+notgz+2022032202-2build1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.13+submodules+notgz+2022032202-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.16+submodules+notgz-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.16+submodules+notgz-3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.13+submodules+notgz+2022032202-2build1",
        "1:1.10.16+submodules+notgz-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-pear",
            "binary_version": "1:1.10.16+submodules+notgz-3ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "php-pear",
        "purl": "pkg:deb/ubuntu/php-pear@1:1.10.16+submodules+notgz-3ubuntu1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.10.16+submodules+notgz-3",
        "1:1.10.16+submodules+notgz-3build1",
        "1:1.10.16+submodules+notgz-3ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and filenames after a redirect, which allows remote HTTP servers to overwrite files via crafted responses, as demonstrated by a .htaccess overwrite.",
  "id": "UBUNTU-CVE-2017-5630",
  "modified": "2026-05-20T14:49:46Z",
  "published": "2017-02-01T23:59:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-5630"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-5630"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "negligible",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-5630"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…