ubuntu-cve-2017-20230
Vulnerability from osv_ubuntu
Published
2026-04-21 16:16
Modified
2026-06-24 13:05
Summary
Details

Storable versions before 3.05 for Perl has a stack overflow. The retrieve_hook function stored the length of the class name into a signed integer but in read operations treated the length as unsigned. This allowed an attacker to craft data that could trigger the overflow.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libcgi-fast-perl",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
          },
          {
            "binary_name": "libperl5.18",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
          },
          {
            "binary_name": "perl-modules",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.7+esm7?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.14.2-21build1",
        "5.18.1-4",
        "5.18.1-4build1",
        "5.18.1-5",
        "5.18.2-2",
        "5.18.2-2ubuntu1",
        "5.18.2-2ubuntu1.1",
        "5.18.2-2ubuntu1.3",
        "5.18.2-2ubuntu1.4",
        "5.18.2-2ubuntu1.6",
        "5.18.2-2ubuntu1.7",
        "5.18.2-2ubuntu1.7+esm3",
        "5.18.2-2ubuntu1.7+esm4",
        "5.18.2-2ubuntu1.7+esm5",
        "5.18.2-2ubuntu1.7+esm7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.22",
            "binary_version": "5.22.1-9ubuntu0.9+esm2"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.22.1-9ubuntu0.9+esm2"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.22.1-9ubuntu0.9+esm2"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.22.1-9ubuntu0.9+esm2"
          },
          {
            "binary_name": "perl-modules-5.22",
            "binary_version": "5.22.1-9ubuntu0.9+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.9+esm2?arch=source\u0026distro=esm-infra-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.20.2-6",
        "5.22.1-3",
        "5.22.1-4",
        "5.22.1-5",
        "5.22.1-7",
        "5.22.1-8",
        "5.22.1-9",
        "5.22.1-9ubuntu0.2",
        "5.22.1-9ubuntu0.3",
        "5.22.1-9ubuntu0.5",
        "5.22.1-9ubuntu0.6",
        "5.22.1-9ubuntu0.9",
        "5.22.1-9ubuntu0.9+esm1",
        "5.22.1-9ubuntu0.9+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.26",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
          },
          {
            "binary_name": "perl-modules-5.26",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.26.1-6ubuntu0.7+esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.26.0-8ubuntu1",
        "5.26.1-2ubuntu1",
        "5.26.1-3",
        "5.26.1-4",
        "5.26.1-4build1",
        "5.26.1-5",
        "5.26.1-6",
        "5.26.1-6ubuntu0.1",
        "5.26.1-6ubuntu0.2",
        "5.26.1-6ubuntu0.3",
        "5.26.1-6ubuntu0.5",
        "5.26.1-6ubuntu0.6",
        "5.26.1-6ubuntu0.7",
        "5.26.1-6ubuntu0.7+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libperl5.30",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
          },
          {
            "binary_name": "perl",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
          },
          {
            "binary_name": "perl-base",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
          },
          {
            "binary_name": "perl-debug",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
          },
          {
            "binary_name": "perl-modules-5.30",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "perl",
        "purl": "pkg:deb/ubuntu/perl@5.30.0-9ubuntu0.5+esm2?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.28.1-6build1",
        "5.30.0-7",
        "5.30.0-9",
        "5.30.0-9build1",
        "5.30.0-9ubuntu0.2",
        "5.30.0-9ubuntu0.3",
        "5.30.0-9ubuntu0.4",
        "5.30.0-9ubuntu0.5",
        "5.30.0-9ubuntu0.5+esm2"
      ]
    }
  ],
  "aliases": [],
  "details": "Storable versions before 3.05 for Perl has a stack overflow. The retrieve_hook function stored the length of the class name into a signed integer but in read operations treated the length as unsigned. This allowed an attacker to craft data that could trigger the overflow.",
  "id": "UBUNTU-CVE-2017-20230",
  "modified": "2026-06-24T13:05:40Z",
  "published": "2026-04-21T16:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-20230"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-20230"
    },
    {
      "type": "REPORT",
      "url": "https://lists.security.metacpan.org/cve-announce/msg/39144694/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Perl/perl5/issues/15831"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Perl/perl5/commit/a258c17c6937f79529c8319a829310e09cdbd216"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-20230"
  ]
}



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…