Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 3 Apr 2017 12:22:15 +0200 (CEST)
From: Dirk-Willem van Gulik <>
Subject: CVE-2017-7239: ninka license identification tool:  insufficient escaping of external input [vs]

Hash: SHA1

             ninka license identification tool
          insufficient escaping of external input

                CVE-2017-7239 / CVSS 9.3

The ninka license identification tool does not properly escape
special characters in the files it encounters - such as the ‘&’.

In case of an alien code bases; or a code base that is brought in for
examination - a third party may doctor the file names as to cause 
a certain result of the license compliance scan. Or the attacker may 
adversely affect the ninka user their environment (e.g. an automated
continuous integration setup) by causing it to hang.

This can then lead to unauthorised disclosure of information,
unreliable compliance information or a denial of services.

Versions affected: 
- - ------------------
All versions up to and including version 1.3.0.

- - -----------
Upgrade to version 1.3.2 or later - available on 

Mitigations and work arounds:
- - -----------------------------
Test the filenames passed for obvious issues. Given that ninka is
generally only applied to (source)code - a regex matching just
the alphanumerics and a few glyphs such as the dash and dot
can usually be applied.

Credits and timeline
- - --------------------
The flaw was found and reported by Dirk-Willem van Gulik <dirkx
@ on the 12 of March 2017. D.M. German <dmg
@ >  fixed the issue on the 27th of March 2017.

2017-01-28	vulnerability found, reported to authors.
2017-03-21	sample found in alien codebase.
2017-03-23	reported to more recent email addresses of authors .
2017-03-26	reported to the authors by phone.
2017-03-27	CVE issued by mitre. fix created by author and
                pushed to github (1.3.1)
2017-04-01	Full disclosure process started.
2017-04-03	Updated the advisory; an improverd fix is
                present in version 1.3.2.

Common Vulnerability Scoring (Version 3) and vector
- - ---------------------------------------------------

CVSS Base Score          9.3
CVSS Temporal Score      9.0
CVSS Environmental Score 6.4

1.07 / : 2719 $
Version: GnuPG/MacGPG2 v2.0


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.