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::Source - Representing the human written .pm file.

SYNOPSIS

use Mite::Source;
my $source = Mite::Source->new( file => $pm_filename );

DESCRIPTION

NO USER SERVICABLE PARTS INSIDE. This is a private class.

Represents a .pm file, written by a human, which uses Mite.

It is responsible for information about the source file.

* The Mite classes contained in the source. * The compiled Mite file associated with it.

It delegates most work to other classes.

This object is necessary because there can be multiple Mite classes in one source file.

SEE ALSO

Mite::Class, Mite::Compiled, Mite::Project