Bug 996281 (CVE-2013-1437) - CVE-2013-1437 perl-Module-Metadata: incorrectly documents that it does not execute unsafe code
Summary: CVE-2013-1437 perl-Module-Metadata: incorrectly documents that it does not ex...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-1437
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 996285 996286 999631 999632
Blocks: 996283
TreeView+ depends on / blocked
 
Reported: 2013-08-12 20:27 UTC by Vincent Danen
Modified: 2023-05-11 23:52 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-22 16:14:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Vincent Danen 2013-08-12 20:27:37 UTC
It was reported that the perl Module::Metadata module incorrectly claimed that it would gather metadata about a .pm file without executing unsafe code.  However, when Module::Metadata determines the version of a module, it can extract a small amount of code (if present in the $Version variable assignment) and evaluates it, which can lead to the execution of arbitrary code (the same code that module would execute to obtain the value of $Version).

This behaviour is intended and known by the authors of the module, the only issue here is with the claim of "without executing unsafe code" and with not making this behaviour clearer in the documentation.  The authors intend to remove this mis-statement and properly document this intended behaviour.


Acknowledgements:

Red Hat would like to thank the Perl 5 Security Team for reporting this issue.

Comment 2 Vincent Danen 2013-08-21 18:09:58 UTC
This is now public:

https://metacpan.org/changes/distribution/Module-Metadata

Comment 4 Vincent Danen 2013-08-21 18:14:44 UTC
Created perl-Module-Metadata tracking bugs for this issue:

Affects: fedora-all [bug 999631]

Comment 5 Fedora Update System 2013-08-30 22:57:43 UTC
perl-Module-Metadata-1.000015-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-08-30 23:00:03 UTC
perl-Module-Metadata-1.000015-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.