| Summary: | perl-Convert-ASN1 new security issue CVE-2013-7488 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | Security | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | Sec team <security> |
| Severity: | major | ||
| Priority: | Normal | CC: | mageia, ouaurelien, sysadmin-bugs, tarazed25 |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA8-64-OK | ||
| Source RPM: | perl-Convert-ASN1-0.270.0-8.mga8.src.rpm | CVE: | CVE-2013-7488 |
| Status comment: | |||
|
Description
David Walser
2020-12-02 17:31:39 CET
David Walser
2020-12-02 17:31:49 CET
Whiteboard:
(none) =>
MGA7TOO Hi, thanks for reporting this bug. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it) CC:
(none) =>
ouaurelien fixed in cauldron. CC:
(none) =>
mageia pushed in mga7
src:
perl-Convert-ASN1-0.270.0-6.1.mga7Assignee:
shlomif =>
qa-bugs Advisory: ======================== Updated perl-Convert-ASN1 package fixes security vulnerability: perl-Convert-ASN1 (aka the Convert::ASN1 module for Perl) through 0.27 allows remote attackers to cause an infinite loop via unexpected input (CVE-2013-7488). References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7488 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/ONNQSW4SSKMG5RUEFZJZA5T5R2WXEGQF/ ======================== Updated packages in core/updates_testing: ======================== perl-Convert-ASN1-0.270.0-6.1.mga7 from perl-Convert-ASN1-0.270.0-6.1.mga7.src.rpm mga7, x64 Installed the module. CVE-2013-7488 https://github.com/gbarr/perl-Convert-ASN1/issues/14 $ cat 27710.pl #!/usr/bin/perl use Convert::ASN1; my $asn = Convert::ASN1->new; $asn->prepare(q< [APPLICATION 7] SEQUENCE { int INTEGER } >); my $out; $out = $asn->decode( pack("H*", "dfccd3fde3") ); $out = $asn->decode( pack("H*", "b0805f92cb") ); Running this script causes an endless stream of messages. $ perl 27710.pl ..... Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/vendor_perl/Convert/ASN1/_decode.pm line 692. substr outside of string at /usr/share/perl5/vendor_perl/Convert/ASN1/_decode.pm line 692. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/vendor_perl/Convert/ASN1/_decode.pm line 692. substr outside of string at /usr/share/perl5/vendor_perl/Convert^C Updated the package. Ran the PoC again. This still caused an endless loop so the problem has not been fixed. $ rpm -q perl-Convert-ASN1 perl-Convert-ASN1-0.270.0-6.1.mga7 CC:
(none) =>
tarazed25 With reference to comment 5. Used madb to find the x86_64 unified diffs on the source package but don't know how to read it apart from seeing that a patch was applied.
Len Lawrence
2020-12-30 19:02:33 CET
Keywords:
(none) =>
feedback Status? Package patched according to Comment 3 but, PoC from Comment 5 does the same issue... Reassigning back, added current SRPM in field. Assignee:
qa-bugs =>
mageia
Aurelien Oudelet
2021-03-01 17:11:02 CET
Status:
NEW =>
NEEDINFO
Aurelien Oudelet
2021-03-07 17:23:09 CET
Status:
NEEDINFO =>
NEW Can someone test this in Cauldron to see if the bug is fixed or still valid there? Keywords:
feedback =>
(none) Confirmed this is still broken in Mageia 8, but fixed in Cauldron. Will have to cancel the Mageia 7 update, but will still need to fix Mageia 8. Version:
7 =>
8 strange. I just took a look, and we have the same patches debian used. Yeah it looks like patching doesn't work and we just have to upgrade it. ok i update it.
src:
- perl-Convert-ASN1-0.310.0-1.mga8Assignee:
mageia =>
qa-bugs Before: $ perl 27710.pl Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/vendor_perl/Convert/ASN1/_decode.pm line 692. substr outside of string at /usr/share/perl5/vendor_perl/Convert/ASN1/_decode.pm line 692 [...] (repeated infinitely) After: $ perl 27710.pl $ Looks good on Mageia 8 x86_64 (and it's a noarch package). Whiteboard:
(none) =>
MGA8-64-OK Installs OK over existing version. MGA8-64-OK Validating. Advisory in comment 4 and SRPM in comment 13. CC:
(none) =>
sysadmin-bugs
Aurelien Oudelet
2021-07-20 23:18:14 CEST
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2021-0363.html Status:
NEW =>
RESOLVED |