[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 814/06 - OpenPKG Security Advisory: OpenPKG-SA-2006.037 - GnuPG



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

______________________________________________________________________________

 UNIRAS (UK Government CERT) Briefing - 814/06 dated 08.12.06 time 14:40
 UNIRAS is part of NISCC (the UK National Infrastructure Security
 Co-ordination Centre)
______________________________________________________________________________

 UNIRAS material is available from the NISCC website at www.niscc.gov.uk
______________________________________________________________________________

Title
=====

OpenPKG Security Advisory: OpenPKG-SA-2006.037 - GnuPG

Detail
======

Two security issues were discovered in the OpenPGP cryptography
tool GnuPG [0], versions up to and including 1.4.5 and 2.0.1.


- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

____________________________________________________________________________

Publisher Name:          OpenPKG GmbH
Publisher Home:          http://openpkg.com/

Advisory Id (public):    OpenPKG-SA-2006.037
Advisory Type:           OpenPKG Security Advisory (SA)
Advisory Directory:      http://openpkg.com/go/OpenPKG-SA
Advisory Document:       http://openpkg.com/go/OpenPKG-SA-2006.037
Advisory Published:      2006-12-07 23:21 UTC

Issue Id (internal):     OpenPKG-SI-20061128.01
Issue First Created:     2006-11-28
Issue Last Modified:     2006-12-07
Issue Revision:          12
____________________________________________________________________________

Subject Name:            GnuPG
Subject Summary:         OpenPGP cryptography tool
Subject Home:            http://www.gnupg.org/
Subject Versions:        1.* <= 1.4.5 && 2.* <= 2.0.1

Vulnerability Id:        CVE-2006-6169, CVE-2006-6235
Vulnerability Scope:     global (not OpenPKG specific)

Attack Feasibility:      run-time
Attack Vector:           remote network
Attack Impact:           denial of service, arbitrary code execution

Description:
    Two security issues were discovered in the OpenPGP cryptography
    tool GnuPG [0], versions up to and including 1.4.5 and 2.0.1.
    
    The first issue [1] is a heap-based buffer overflow which has been
    identified by the vendor during fixing a bug reported by Hugh
    Warrington [2]. The problem is that the GnuPG internal function
    make_printable_string() is supposed to replace possible dangerous
    characters from a prompt and returns an allocated string. This
    string may be longer than the original one, but the buffer for the
    prompt is only be allocated at the size of the original string. The
    flaw might allow attackers to cause a denial of service or even
    execute arbitrary code via messages with "C-escape" expansions.
    
    The second issue [3] is a memory management problem. GnuPG uses
    data structures called filters to process OpenPGP messages. For
    communication between filters, context structures are used. These
    are usually allocated on the stack and passed to the filter
    functions. At most places the OpenPGP data stream fed into these
    filters is closed before the context structure gets deallocated.
    While decrypting encrypted packets, this may not happen in all
    cases and the filter may use a void context structure filled with
    garbage. An attacker may control this garbage. The filter context
    includes another context used by the low-level decryption to access
    the decryption algorithm. This is done using a function pointer.
    By carefully crafting an OpenPGP message, an attacker may control
    this function pointer and call an arbitrary function of the process.
    This is a remotely exploitable bug and affects any use of GnuPG
    where an attacker can control the data processed by GnuPG. It is
    not necessary limited to encrypted data, also signed data may be
    affected.

References:
    [0] http://www.gnupg.org/
    [1] http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html
    [2] https://bugs.g10code.com/gnupg/issue728
    [3] http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000246.html
____________________________________________________________________________

Primary Package Name:    gnupg
Primary Package Home:    http://openpkg.org/go/package/gnupg

Corrected Distribution:  Corrected Series: Corrected Package:
OpenPKG Enterprise       E1.0-SOLID        gnupg-1.4.5-E1.0.1
OpenPKG Community        2-STABLE-20061018 gnupg-1.4.6-2.20061207
OpenPKG Community        2-STABLE          gnupg-1.4.6-2.20061207
OpenPKG Community        CURRENT           gnupg-1.4.6-20061206
OpenPKG Community        CURRENT           gnupg2-2.0.1-20061207
____________________________________________________________________________

For security reasons, this document was digitally signed with the OpenPGP public key of the OpenPKG GmbH (public key id 61B7AE34)
which you can download from http://openpkg.com/openpkg.com.pgp
or retrieve from the OpenPGP keyserver at hkp://pgp.openpkg.org/.
Follow the instructions at http://openpkg.com/security/signatures/
for more details on how to verify the integrity of this document.
____________________________________________________________________________

- -----BEGIN PGP SIGNATURE-----
Comment: OpenPKG GmbH <http://openpkg.com/>

iD8DBQFFeJP+ZwQuyWG3rjQRAqGRAKCv3mjhWlsMh/BDigHi05uaqwwvoQCfU3lV
brJFA0qntdpcwgqBYvQ28xQ=
=4wZZ
- -----END PGP SIGNATURE-----


______________________________________________________________________________

NISCC values your feedback.

1. Which of the following most reflects the value of the briefing to you?
(Place an 'X' next to your choice)

Very useful:__ Useful:__ Not useful:__ 

2. If you did not find it useful, why not?


3. Any other comments? How could we improve our briefings?


Thank you for your contribution.
______________________________________________________________________________

For additional information or assistance, please contact our help desk
by telephone.  You may send Not Protectively Marked information via
e-mail to uniras@xxxxxxxxxxxxx

Office hours:

Mon - Fri: 08:30 - 17:00 hours
Tel: +44 (0) 870 487 0748 and follow the voice prompts
Fax: +44 (0) 870 487 0749

On-call duty officer outside office hours:
Tel: +44 (0) 870 487 0748 and follow the voice prompts

______________________________________________________________________________

UNIRAS wishes to acknowledge the contributions of OpenPKG for the
information contained in this briefing.
______________________________________________________________________________

This notice contains information released by the original author.
Some of the information may have changed since it was released. If the
vulnerability affects you, it may be prudent to retrieve the advisory
from the site of the original source to ensure that you receive the most
current information concerning that problem.

Reference to any specific commercial product, process, or service by
trade name, trademark manufacturer, or otherwise, does not constitute or
imply its endorsement, recommendation, or favouring by UNIRAS or NISCC.
The views and opinions of authors expressed within this notice shall not
be used for advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors
or omissions contained within this briefing notice. In particular, they
shall not be liable for any loss or damage whatsoever, arising from or
in connection with the usage of information contained within this
notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams
(FIRST) and has contacts with other international Incident Response
Teams (IRTs) in order to foster cooperation and coordination in incident
prevention, to prompt rapid reaction to incidents, and to promote
information sharing amongst its members and the community at large.
______________________________________________________________________________

<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBRXl4YGl7oeQsXfKvEQJ31wCfbrdMO3+aceGaWcYi14AVyQ2RkiMAoMIz
VPiFK/bQwos+0m5gycp0cdiX
=qjsf
-----END PGP SIGNATURE-----


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________