id sequence is predictable and the same in all child processes

Bug #125180 reported by Scott Kitterman
254
Affects Status Importance Assigned to Milestone
libnet-dns-perl (Ubuntu)
Fix Released
High
Unassigned
Dapper
Fix Released
High
Scott Kitterman
Edgy
Fix Released
High
Scott Kitterman
Feisty
Fix Released
High
Scott Kitterman

Bug Description

Binary package hint: libnet-dns-perl

In /lib/Net/DNS/Header.pm:

{
 my $id = int rand(MAX_ID);
 sub nextid {
    return $id++ % (MAX_ID + 1);
 }
}

Results in a predcitable id sequence.

CVE References

Revision history for this message
Scott Kitterman (kitterman) wrote :

Already fixed in Gutsy.

Changed in libnet-dns-perl:
importance: Undecided → High
status: New → Fix Released
Changed in libnet-dns-perl:
assignee: nobody → kitterman
importance: Undecided → High
status: New → In Progress
assignee: nobody → kitterman
importance: Undecided → High
status: New → In Progress
assignee: nobody → kitterman
importance: Undecided → High
status: New → In Progress
Revision history for this message
Scott Kitterman (kitterman) wrote :

Debdiff for Feisty

Revision history for this message
Scott Kitterman (kitterman) wrote :

Debdiff for Edgy

Revision history for this message
Scott Kitterman (kitterman) wrote :

Debdiff for Dapper

Revision history for this message
Scott Kitterman (kitterman) wrote :

Code change for all three releases is identical with the upstream fix in Gutsy. All three updates build in pbuilders for each release. I have not tested that this actually works, just working off of review of the upstream code.

Revision history for this message
Kees Cook (kees) wrote :

This looks really good, thanks. I've linked to the associated CVE, and I'll likely pull the fixes for the other CVE too.

Changed in libnet-dns-perl:
status: In Progress → Fix Released
status: In Progress → Fix Released
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.