Skip to content

サポート   >  セキュリティー&アップデート/ERRATA
 

gnupgパッケージのアップデート

アドバイスID: RHSA-2003:390-18
最終更新日: 2003-12-10
影響のあるプロダクト: Red Hat Linux 7.1
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0
Red Hat Linux 9
CVEs (cve.mitre.org): CAN-2003-0971

Security Advisory   セキュリティ・アドバイス

概要:

Updated gnupg packages are now available for Red Hat Linux. These updates
disable the ability to generate ElGamal keys (used for both signing and
encrypting) and disable the ability to use ElGamal public keys for
encrypting data.

GnuPG is a utility for encrypting data and creating digital signatures.

Phong Nguyen identified a severe bug in the way GnuPG creates and uses
ElGamal keys, when those keys are used both to sign and encrypt data. This
vulnerability can be used to trivially recover the private key. While the
default behavior of GnuPG when generating keys does not lead to the
creation of unsafe keys, by overriding the default settings an unsafe key
could have been created.

If you are using ElGamal keys, you should revoke those keys immediately.

The packages included in this update do not make ElGamal keys safe to use;
they merely include a patch by David Shaw that disables functions that
would generate or use ElGamal keys.

To determine if your key is affected, run the following command to obtain a
list of secret keys that you have on your secret keyring:

gpg --list-secret-keys

The output of this command includes both the size and type of the keys
found, and will look similar to this example:

/home/example/.gnupg/secring.gpg
----------------------------------------------------
sec 1024D/01234567 2000-10-17 Example User <example@example.com>
uid Example User <example@example.com>

The key length, type, and ID are listed together, separated by a forward
slash. In the example output above, the key's type is "D" (DSA, sign
and encrypt). Your key is unsafe if and only if the key type is "G"
(ElGamal, sign and encrypt). In the above example, the secret key is safe
to use, while the secret key in the following example is not:

/home/example/.gnupg/secring.gpg
----------------------------------------------------
sec 1024G/01234567 2000-10-17 Example User <example@example.com>
uid Example User <example@example.com>

For more details regarding this issue, as well as instructions on how to
revoke any keys that are unsafe, refer to the advisory available from the
GnuPG web site:

http://www.gnupg.org/

アップデート・パッケージ:

Red Hat Linux 7.1

SRPMS:
gnupg-1.0.7-12.src.rpm
[ via FTP ] [ via HTTP ]
    4d62554490e85b7cc1f0cfef6518a979
 
i386:
gnupg-1.0.7-12.i386.rpm
[ via FTP ] [ via HTTP ]
    0591a2079aff5e7979b0225b568bceaa
 
Red Hat Linux 7.2

SRPMS:
gnupg-1.0.7-13.src.rpm
[ via FTP ] [ via HTTP ]
    b619c30c293094d7dcd18487d8e62a43
 
i386:
gnupg-1.0.7-13.i386.rpm
[ via FTP ] [ via HTTP ]
    e7e3e75afd1ccd2267ccc7847c76ebb4
 
ia64:
gnupg-1.0.7-13.ia64.rpm
[ via FTP ] [ via HTTP ]
    6fb21011ca42ff395b8cfc7dce4c2936
 
Red Hat Linux 7.3

SRPMS:
gnupg-1.0.7-13.src.rpm
[ via FTP ] [ via HTTP ]
    b619c30c293094d7dcd18487d8e62a43
 
i386:
gnupg-1.0.7-13.i386.rpm
[ via FTP ] [ via HTTP ]
    e7e3e75afd1ccd2267ccc7847c76ebb4
 
Red Hat Linux 8.0

SRPMS:
gnupg-1.0.7-14.src.rpm
[ via FTP ] [ via HTTP ]
    bc375882f13e5c10eb29eb3615de911d
 
i386:
gnupg-1.0.7-14.i386.rpm
[ via FTP ] [ via HTTP ]
    a3de0844778cd994258f121330ff6d62
 
Red Hat Linux 9

SRPMS:
gnupg-1.2.1-9.src.rpm
[ via FTP ] [ via HTTP ]
    e1f31f4a07ebb5b4040f8f6ca3816cc4
 
i386:
gnupg-1.2.1-9.i386.rpm
[ via FTP ] [ via HTTP ]
    604a2fb5b809ec99280871f46507f4a1
 

解決法:

このアップデートを適用する前に、システムに関連するリリース済の errata が適用済であることをご確認ください。
それぞれのアーキテクチャで全てのRPMをアップデートするには、以下のコマンドを実行してください:

rpm -Fvh [filename]

[filename] は、アップデートしたいRPMのファイル名です。現在インストールされているパッケージのみ、アップグレードされます。現在いるディレクトリにインストールしたいRPM *しか* 無い場合には、 ワイルドカード (*.rpm) も使うことができます。
このアップデートは、Red Hat Network 経由でも行なえます。アップデートを適用する非常に簡便な方法です。Red hat Network をご利用になるには、以下のコマンドで、アップデートエージェントを起動してください。

up2date

このコマンドで、システムに適切なRPMをアップグレードする対話形式のプロセスを起動します。

参照:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0971
http://lists.gnupg.org/pipermail/gnupg-announce/2003q4/000276.html
http://lists.gnupg.org/pipermail/gnupg-users/2003-November/020779.html
http://lists.gnupg.org/pipermail/gnupg-announce/2003q4/000277.html

キーワード:

elgamal, encrypt, gnupg, sign



ここに在るパッケージはセキュリティの為、 Red Hat, Inc. によって、 GPG 認証されています。キーは以下から利用可能になっています:
http://www.redhat.com/about/contact.html

各パッケージを確認するには次のコマンドをご利用ください: rpm --checksig filename
各パッケージが壊れていないか、もしくは改ざんされていないかを確認するには、以下のコマンドで MD5 チェックサムをお調べください: rpm --checksig --nogpg filename
注意: GnuPG キーをチェックするためには、RPM 3.0 以上が必要です。