File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ [Changes for 0.73 - Wed Jun 5 23:44:57 CST 2013]
2
+
3
+ * Properly redo the previous fix using File::Spec->file_name_is_absolute.
4
+
1
5
[Changes for 0.72 - Wed Jun 5 23:19:02 CST 2013]
2
6
3
7
* Only allow loading Digest::* from absolute paths in @INC,
4
8
by ensuring they begin with \ or / characters.
5
9
6
- Contributed by: Florian Weimer
10
+ Contributed by: Florian Weimer (CVE-2013-2145)
7
11
8
12
[Changes for 0.71 - Tue Jun 4 18:24:10 CST 2013]
9
13
10
14
* Constrain the user-specified digest name to /^\w+\d+$/.
11
15
12
16
* Avoid loading Digest::* from relative paths in @INC.
13
17
14
- Contributed by: Florian Weimer
18
+ Contributed by: Florian Weimer (CVE-2013-2145)
15
19
16
20
[Changes for 0.70 - Thu Nov 29 01:45:54 CST 2012]
17
21
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ requires:
25
25
perl : 5.005
26
26
resources :
27
27
repository : http://github.com/audreyt/module-signature
28
- version : 0.72
28
+ version : 0.73
Original file line number Diff line number Diff line change 1
1
package Module::Signature ;
2
- $Module::Signature::VERSION = ' 0.72 ' ;
2
+ $Module::Signature::VERSION = ' 0.73 ' ;
3
3
4
4
use 5.005;
5
5
use strict;
@@ -18,6 +18,7 @@ use constant CIPHER_UNKNOWN => -6;
18
18
19
19
use ExtUtils::Manifest ();
20
20
use Exporter;
21
+ use File::Spec;
21
22
22
23
@EXPORT_OK = (
23
24
qw( sign verify) ,
@@ -534,7 +535,7 @@ sub _digest_object {
534
535
my ($algorithm ) = @_ ;
535
536
536
537
# Avoid loading Digest::* from relative paths in @INC.
537
- local @INC = grep { m { ^[ \\ /] } } @INC ;
538
+ local @INC = grep { File::Spec -> file_name_is_absolute( $_ ) } @INC ;
538
539
539
540
# Constrain algorithm name to be of form ABC123.
540
541
my ($base , $variant ) = ($algorithm =~ / ^([_a-zA-Z]+)([0-9]+)$ /g )
You can’t perform that action at this time.
0 commit comments