Bug 25652 - libidn2 new security issues CVE-2019-12290 and CVE-2019-18224
Summary: libidn2 new security issues CVE-2019-12290 and CVE-2019-18224
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-11-03 03:05 CET by David Walser
Modified: 2019-12-31 17:52 CET (History)
5 users (show)

See Also:
Source RPM: libidn2-2.1.1a-1.mga7.src.rpm
CVE:
Status comment: Fixed upstream in 2.2.0


Attachments

Description David Walser 2019-11-03 03:05:05 CET
Ubuntu has issued an advisory on October 29:
https://usn.ubuntu.com/4168-1/

The issue is fixed upstream in 2.2.0.
Comment 1 David GEIGER 2019-11-03 05:20:20 CET
Assigning to the registered maintainer!

Assignee: bugsquad => jani.valimaa
CC: (none) => geiger.david68210

Comment 2 David Walser 2019-12-03 22:56:46 CET
openSUSE has issued an advisory for this today (December 3):
https://lists.opensuse.org/opensuse-updates/2019-12/msg00016.html

2.2.0 also fixed one other security issue.

Summary: libidn2 new security issue CVE-2019-12290 => libidn2 new security issues CVE-2019-12290 and CVE-2019-18224
Status comment: (none) => Fixed upstream in 2.2.0

Comment 3 David Walser 2019-12-27 03:09:15 CET
Fedora has issued an advisory for this on November 20:
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/U6ZXL2RDNQRAHCMKWPOMJFKYJ344X4HL/
Comment 4 Jani Välimaa 2019-12-27 07:33:08 CET
Pushed libidn2-2.2.0-1.mga7 to core/updates_testing for mga7. Please test.

RPMS:
idn2-2.2.0-1.mga7
lib(64)idn2_0-2.2.0-1.mga7
lib(64)idn2-devel-2.2.0-1.mga7
libidn2-i18n-2.2.0-1.mga7

Assignee: jani.valimaa => qa-bugs

Comment 5 David Walser 2019-12-27 15:18:32 CET
Maybe we should update to 2.3.0 like Fedora did to make sure we have all the fixes?

CC: (none) => jani.valimaa

Comment 6 David Walser 2019-12-27 15:53:05 CET
Advisory:
========================

Updated libidn2 packages fix security vulnerabilities:

It was discovered that Libidn2 incorrectly handled certain inputs. A attacker
could possibly use this issue to impersonate domains (CVE-2019-12290).

It was discovered that Libidn2 incorrectly handled certain inputs. An attacker
could possibly use this issue to execute arbitrary code (CVE-2019-18224).

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12290
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18224
https://usn.ubuntu.com/4168-1/
Comment 7 Herman Viaene 2019-12-29 10:28:26 CET
MGA7-64 Plasma on Lenovo B50
No installation issues.
No previous updates, so google comes te help: https://www.gnu.org/software/libidn/libidn2/manual/html_node/Invoking-idn2.html
Honestly, I hardly understand what this is about, and I won't start a study on it, so just trying a few examples.
$ idn2 --version
idn2 (libidn2) 2.2.0
Copyright 2011-(C) 2019 Simon Josefsson, Tim Ruehsen.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Simon Josefsson, Tim Ruehsen.

$ idn2 --help
Gebruik:  idn2 [OPTIE]... [TEKENREEKS]...
Internationalized Domain Name (IDNA2008) convert STRINGS, or standard input.

Command line interface to the Libidn2 implementation of IDNA2008.

All strings are expected to be encoded in the locale charset.

To process a string that starts with `-', for example `-foo', use `--'
to signal the end of parameters, as in `idn2 --quiet -- -foo'.

Mandatory arguments to long options are mandatory for short options too.
  -h, --help                Print help and exit
  -V, --version             Print version and exit
  -d, --decode              Decode (punycode) domain name
  -l, --lookup              Lookup domain name (default)
  -r, --register            Register label
  -T, --tr46t               Enable TR46 transitional processing
  -N, --tr46nt              Enable TR46 non-transitional processing
      --no-tr46             Disable TR46 processing
      --usestd3asciirules   Enable STD3 ASCII rules
      --no-alabelroundtrip  Disable ALabel rountrip for lookups
      --debug               Print debugging information
      --quiet               Silent operation

Report bugs to: help-libidn@gnu.org
libidn2 home page: <https://www.gnu.org/software/libidn/#libidn2>
General help using GNU software: <https://www.gnu.org/gethelp/>

and from above site:
$ idn2 --quiet
räksmörgås.se (I input this)
xn--rksmrgs-5wao1o.se (feedback)

$ idn2 räksmörgås.se blåbærgrød.no
xn--rksmrgs-5wao1o.se
xn--blbrgrd-fxak7p.no

This all looks OK.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => herman.viaene

Thomas Backlund 2019-12-31 17:13:16 CET

Keywords: (none) => advisory, validated_update
CC: (none) => tmb, sysadmin-bugs

Comment 8 Mageia Robot 2019-12-31 17:52:39 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2019-0416.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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