Skip to content
Heist/ feed
Back to feed
UnratedFix available

commons-io vulnerability

Type: advisorySources: OSV

It was discovered that Apache Commons IO incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information.

Products
commons-io
Affected versions
2.5-1, 2.5-2, 2.6-1, 2.6-2
Fixed versions
2.6-2ubuntu0.18.04.1, 2.6-2ubuntu0.20.04.1
CVEs
CVE-2021-29425
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 10:04 UTC · Revision 1

Source evidence

commons-io vulnerability

core-osv · Original source

Published 29 Sept 2021, 16:49 UTC

It was discovered that Apache Commons IO incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information.

osv:USN-5095-1

commons-io

Fixed versions: 2.6-2ubuntu0.18.04.1

commons-io

Fixed versions: 2.6-2ubuntu0.20.04.1

Complete source record
{
  "id": "65cec9482fb99c2e748d9acad0b49420ddba3285c5ee05653bd01d7718641ed5",
  "url": "https://osv.dev/vulnerability/USN-5095-1",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "commons-io vulnerability",
    "summary": "It was discovered that Apache Commons IO incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information.",
    "evidence": "osv:USN-5095-1",
    "products": [
      {
        "name": {
          "value": "commons-io",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6-2ubuntu0.18.04.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.5-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.6-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-io",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6-2ubuntu0.20.04.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.6-2",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "USN-5095-1",
      "aliases": [
        "USN-5095-1"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6-2ubuntu0.18.04.1"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-io",
            "purl": "pkg:deb/ubuntu/commons-io?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.5-1",
            "2.5-2",
            "2.6-1",
            "2.6-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5095-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2021-29425",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:18.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-io-java",
                "binary_version": "2.6-2ubuntu0.18.04.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6-2ubuntu0.20.04.1"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-io",
            "purl": "pkg:deb/ubuntu/commons-io?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.6-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5095-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2021-29425",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:20.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-io-java",
                "binary_version": "2.6-2ubuntu0.20.04.1"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-08T19:46:34.037196008Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-29425",
        "UBUNTU-CVE-2021-29425"
      ],
      "references": [
        "https://ubuntu.com/security/notices/USN-5095-1",
        "https://ubuntu.com/security/CVE-2021-29425"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-29425",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 104526,
  "published_at": "2021-09-29T16:49:53+00:00"
}