Articles / Debian: New php-json-ext pa…

Debian: New php-json-ext packages fix denial of service

It was discovered that php-json-ext, a JSON serialiser for PHP, is prone to a denial of service attack, when receiving a malformed string via the json_decode function. Updated packages are available from security.debian.org.

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

- ------------------------------------------------------------------------
Debian Security Advisory DSA-1775-1                  security@debian.org
http://www.debian.org/security/                      Steffen Joeris
April 20, 2009                        http://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : php-json-ext
Vulnerability  : denial of service
Problem type   : remote
Debian-specific: no
CVE ID         : CVE-2009-1271


It was discovered that php-json-ext, a JSON serialiser for PHP, is
prone to a denial of service attack, when receiving a malformed string
via the json_decode function.


For the oldstable distribution (etch), this problem has been fixed in
version 1.2.1-3.2+etch1.

The stable distribution (lenny) does not contain a separate php-json-ext
package, but includes it in the php5 packages, which will be fixed soon.

The testing distribution (squeeze) and the unstable distribution (sid)
do not contain a separate php-json-ext package, but include it in the
php5 packages.

We recommend that you upgrade your php-json-ext packages.


Upgrade instructions
- --------------------

wget url
       will fetch the file for you
dpkg -i file.deb
       will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
       will update the internal database
apt-get upgrade
       will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 4.0 alias etch
- -------------------------------

Debian (oldstable)
- ------------------

Oldstable updates are available for alpha, amd64, arm, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

 http://security.debian.org/pool/updates/main/p/php-json-ext/php-json-ext_1.2.1-3.2+etch1.dsc
   Size/MD5 checksum:      655 0ec03d0f1b9070acbc7cd27d0391f5b8
 http://security.debian.org/pool/updates/main/p/php-json-ext/php-json-ext_1.2.1-3.2+etch1.diff.gz
   Size/MD5 checksum:     6927 38f1e8a9a59ed98b8734c8032a26141c
 http://security.debian.org/pool/updates/main/p/php-json-ext/php-json-ext_1.2.1.orig.tar.gz
   Size/MD5 checksum:   205184 2f1229af3e99a0dd64b4d4f1fe7eb8f4

alpha architecture (DEC Alpha)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_alpha.deb
   Size/MD5 checksum:    15400 8bd9efc1a2953772d190af010e07db18
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_alpha.deb
   Size/MD5 checksum:    16164 db0bde2a0c19be169f4e5942f9931d8b

amd64 architecture (AMD x86_64 (AMD64))

 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_amd64.deb
   Size/MD5 checksum:    14902 b9a1f994c0635b16c4eb9dcbcfcbb361
 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_amd64.deb
   Size/MD5 checksum:    14492 a7d56a24e70aed46ba4e8364109a6bff

arm architecture (ARM)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_arm.deb
   Size/MD5 checksum:    14692 38de5778f6d426ee6f7bb22f70eac6ba
 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_arm.deb
   Size/MD5 checksum:    13858 a4a428de898e847854ac9b1d5a47b498

hppa architecture (HP PA RISC)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_hppa.deb
   Size/MD5 checksum:    15888 e4341419ce1d6b4598ce6d7973c4f181
 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_hppa.deb
   Size/MD5 checksum:    15470 6f2def991b9f7f73d50765412efbe1e6

i386 architecture (Intel ia32)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_i386.deb
   Size/MD5 checksum:    14796 6c085917b6825c03f92ee1715ce7bc2c
 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_i386.deb
   Size/MD5 checksum:    14362 e280d560eea3f4bd8ea838ee60bddd88

ia64 architecture (Intel ia64)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_ia64.deb
   Size/MD5 checksum:    19344 c0a8a9a9ea921270e0e5b23f1e54b0fb
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_ia64.deb
   Size/MD5 checksum:    20124 ed4a1b3a31c24b47500b73a5188b37b5

mips architecture (MIPS (Big Endian))

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_mips.deb
   Size/MD5 checksum:    14502 36aa4fe7f7d516bbb388ae311d3ce8a7
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_mips.deb
   Size/MD5 checksum:    14782 75092e11b7479d1a57c5d3417af74f91

mipsel architecture (MIPS (Little Endian))

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_mipsel.deb
   Size/MD5 checksum:    14532 d58daf9ee56ddc85968c4fa49254ece6
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_mipsel.deb
   Size/MD5 checksum:    14786 ec06ff6f4c4ea663f58c7df60844e2dc

powerpc architecture (PowerPC)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_powerpc.deb
   Size/MD5 checksum:    15838 bba10c015896435fcbd11333f853fb10
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_powerpc.deb
   Size/MD5 checksum:    16370 1e20abaea1d83b9d591ba85efd01ca4f

s390 architecture (IBM S/390)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_s390.deb
   Size/MD5 checksum:    14716 da5410075a9d819c0338e956c2a5ca79
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_s390.deb
   Size/MD5 checksum:    15116 f0e4dc85aec657fc4027efc6e4ea7ed0

sparc architecture (Sun SPARC/UltraSPARC)

 http://security.debian.org/pool/updates/main/p/php-json-ext/php4-json_1.2.1-3.2+etch1_sparc.deb
   Size/MD5 checksum:    13688 ce01518db9b9c949653f3839ec9e8f26
 http://security.debian.org/pool/updates/main/p/php-json-ext/php5-json_1.2.1-3.2+etch1_sparc.deb
   Size/MD5 checksum:    14266 a5a2172b891a26d597fcd35f3cb7140b


 These files will probably be moved into the stable distribution on
 its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknsQAoACgkQ62zWxYk/rQdmagCdGmwjAYJ7xFukb7QSxwJTGpLr
5AYAn0/j4gVOROIEWvNTfpsP8qpyVfHp
=04Cd
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.