Security Advisories (1)
CVE-2025-30672 (2025-04-01)

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.

NAME

Mite::MakeMaker - Use in your Makefile.PL when developing with Mite

SYNOPSIS

# In Makefile.PL
use ExtUtils::MakeMaker;
eval { require Mite::MakeMaker; };

WriteMakefile(
    ...as normal...
);

DESCRIPTION

If your module is being developed with ExtUtils::MakeMaker, this module makes working with Mite more natural.

Be sure to require this in an eval block so users can install your module without mite.

make

When make is run, mite will compile any changes.

make clean

When make clean is run, mite files will be cleaned up as well.

make manifest

Be sure to run this after running make and before running make dist so all the mite files are picked up.

MANIFEST.SKIP

The .mite directory should not be shipped with your distribution. Add ^\.mite/ to your MANIFEST.SKIP file.

SEE ALSO

Mite::ModuleBuild