CVE-2025-30672 (GCVE-0-2025-30672)

Vulnerability from cvelistv5 – Published: 2025-04-01 01:51 – Updated: 2025-04-01 18:28
VLAI?
Summary
Mite for Perl before 0.013000 generates code with the current working directory ('.') added to the @INC path similar to CVE-2016-1238. If an attacker can place a malicious file in current working directory, it may be loaded instead of the intended file, potentially leading to arbitrary code execution. This affects the Mite distribution itself, and other distributions that contain code generated by Mite.
CWE
  • CWE-427 - Uncontrolled Search Path Element
Assigner
Impacted products
Vendor Product Version
TOBYINK Mite Affected: 0 , < 0.013000 (custom)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 6.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2025-30672",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-04-01T18:27:16.211406Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-04-01T18:28:05.280Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://cpan.org/modules",
          "defaultStatus": "unaffected",
          "packageName": "Mite",
          "product": "Mite",
          "repo": "https://github.com/tobyink/p5-mite",
          "vendor": "TOBYINK",
          "versions": [
            {
              "lessThan": "0.013000",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Mite for Perl before 0.013000 generates code with the current working directory (\u0027.\u0027) added to the @INC path similar to CVE-2016-1238.\u003cbr\u003e\u003cbr\u003eIf an attacker can place a malicious file in current working directory, it may be \nloaded instead of the intended file, potentially leading to arbitrary \ncode execution.\u003cbr\u003e\u003cbr\u003eThis affects the Mite distribution itself, and other distributions that contain code generated by Mite.\u003cbr\u003e\u003cbr\u003e"
            }
          ],
          "value": "Mite for Perl before 0.013000 generates code with the current working directory (\u0027.\u0027) added to the @INC path similar to CVE-2016-1238.\n\nIf an attacker can place a malicious file in current working directory, it may be \nloaded instead of the intended file, potentially leading to arbitrary \ncode execution.\n\nThis affects the Mite distribution itself, and other distributions that contain code generated by Mite."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-38",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-38 Leveraging/Manipulating Configuration File Search Paths"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-427",
              "description": "CWE-427 Uncontrolled Search Path Element",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-04-01T01:51:08.494Z",
        "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "shortName": "CPANSec"
      },
      "references": [
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://metacpan.org/release/TOBYINK/Mite-0.013000/changes"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Version 0.013000 of Mite was released to address the issue. Users should update to the latest version, and regenerate the Mite files for any projects using the distribution.\u003cbr\u003e\u003cbr\u003e"
            }
          ],
          "value": "Version 0.013000 of Mite was released to address the issue. Users should update to the latest version, and regenerate the Mite files for any projects using the distribution."
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Mite for Perl generates code with an untrusted search path vulnerability",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
    "assignerShortName": "CPANSec",
    "cveId": "CVE-2025-30672",
    "datePublished": "2025-04-01T01:51:08.494Z",
    "dateReserved": "2025-03-24T22:42:06.810Z",
    "dateUpdated": "2025-04-01T18:28:05.280Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-30672\",\"sourceIdentifier\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"published\":\"2025-04-01T02:15:16.390\",\"lastModified\":\"2025-04-01T20:26:11.547\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Mite for Perl before 0.013000 generates code with the current working directory (\u0027.\u0027) added to the @INC path similar to CVE-2016-1238.\\n\\nIf an attacker can place a malicious file in current working directory, it may be \\nloaded instead of the intended file, potentially leading to arbitrary \\ncode execution.\\n\\nThis affects the Mite distribution itself, and other distributions that contain code generated by Mite.\"},{\"lang\":\"es\",\"value\":\"Mite para Perl anterior a la versi\u00f3n 0.013000 genera c\u00f3digo con el directorio de trabajo actual (\u0027.\u0027) a\u00f1adido a la ruta @INC, similar a CVE-2016-1238. Si un atacante coloca un archivo malicioso en el directorio de trabajo actual, este podr\u00eda cargarse en lugar del archivo previsto, lo que podr\u00eda provocar la ejecuci\u00f3n de c\u00f3digo arbitrario. Esto afecta a la propia distribuci\u00f3n de Mite y a otras distribuciones que contienen c\u00f3digo generado por Mite.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":2.5}]},\"weaknesses\":[{\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-427\"}]}],\"references\":[{\"url\":\"https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://metacpan.org/release/TOBYINK/Mite-0.013000/changes\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-30672\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-04-01T18:27:16.211406Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-04-01T18:28:00.197Z\"}}], \"cna\": {\"title\": \"Mite for Perl generates code with an untrusted search path vulnerability\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"impacts\": [{\"capecId\": \"CAPEC-38\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-38 Leveraging/Manipulating Configuration File Search Paths\"}]}], \"affected\": [{\"repo\": \"https://github.com/tobyink/p5-mite\", \"vendor\": \"TOBYINK\", \"product\": \"Mite\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"0.013000\", \"versionType\": \"custom\"}], \"packageName\": \"Mite\", \"collectionURL\": \"https://cpan.org/modules\", \"defaultStatus\": \"unaffected\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"Version 0.013000 of Mite was released to address the issue. Users should update to the latest version, and regenerate the Mite files for any projects using the distribution.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Version 0.013000 of Mite was released to address the issue. Users should update to the latest version, and regenerate the Mite files for any projects using the distribution.\u003cbr\u003e\u003cbr\u003e\", \"base64\": false}]}], \"references\": [{\"url\": \"https://metacpan.org/release/TOBYINK/Mite-0.013000/changes\", \"tags\": [\"release-notes\"]}, {\"url\": \"https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal\", \"tags\": [\"related\"]}, {\"url\": \"https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC\", \"tags\": [\"related\"]}, {\"url\": \"https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html\", \"tags\": [\"related\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Mite for Perl before 0.013000 generates code with the current working directory (\u0027.\u0027) added to the @INC path similar to CVE-2016-1238.\\n\\nIf an attacker can place a malicious file in current working directory, it may be \\nloaded instead of the intended file, potentially leading to arbitrary \\ncode execution.\\n\\nThis affects the Mite distribution itself, and other distributions that contain code generated by Mite.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Mite for Perl before 0.013000 generates code with the current working directory (\u0027.\u0027) added to the @INC path similar to CVE-2016-1238.\u003cbr\u003e\u003cbr\u003eIf an attacker can place a malicious file in current working directory, it may be \\nloaded instead of the intended file, potentially leading to arbitrary \\ncode execution.\u003cbr\u003e\u003cbr\u003eThis affects the Mite distribution itself, and other distributions that contain code generated by Mite.\u003cbr\u003e\u003cbr\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-427\", \"description\": \"CWE-427 Uncontrolled Search Path Element\"}]}], \"providerMetadata\": {\"orgId\": \"9b29abf9-4ab0-4765-b253-1875cd9b441e\", \"shortName\": \"CPANSec\", \"dateUpdated\": \"2025-04-01T01:51:08.494Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-30672\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-04-01T18:28:05.280Z\", \"dateReserved\": \"2025-03-24T22:42:06.810Z\", \"assignerOrgId\": \"9b29abf9-4ab0-4765-b253-1875cd9b441e\", \"datePublished\": \"2025-04-01T01:51:08.494Z\", \"assignerShortName\": \"CPANSec\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…