Project

General

Profile

Actions

Bug #8873

closed
GL GL

dhcp: parser ignores the declared length of time options

Bug #8873: dhcp: parser ignores the declared length of time options

Added by Giuseppe Longo about 2 months ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

DHCP options 51, 58, and 59 contain four-byte time values, but the parser ignores their length byte and always consumes four bytes.
Malformed options with lengths other than four can therefore desynchronize option parsing and produce false matches for dhcp.leasetime, dhcp.renewal_time, or dhcp.rebinding_time.
The parser should reject these options unless their declared length is exactly four.


Subtasks 1 (0 open — 1 closed)

Bug #8935: dhcp: parser ignores the declared length of time options (8.0.x backport)ClosedGiuseppe LongoActions

GL Updated by Giuseppe Longo about 2 months ago Actions #1

  • Subject changed from dhcp parser ignores the declared length of time options to dhcp: parser ignores the declared length of time options

GL Updated by Giuseppe Longo about 1 month ago Actions #2

  • Status changed from Assigned to In Review

JI Updated by Jason Ish about 1 month ago Actions #3

  • Label Needs backport to 8.0 added

OT Updated by OISF Ticketbot about 1 month ago Actions #4

  • Subtask #8935 added

OT Updated by OISF Ticketbot about 1 month ago Actions #5

  • Label deleted (Needs backport to 8.0)

JI Updated by Jason Ish 18 days ago Actions #6

  • Status changed from In Review to Resolved

Staged.

JI Updated by Jason Ish 12 days ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom