Project

General

Profile

Actions

Bug #8873

open
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 24 days ago. Updated 13 days ago.

Status:
In Review
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 (1 open0 closed)

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

GL Updated by Giuseppe Longo 24 days 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 16 days ago Actions #2

  • Status changed from Assigned to In Review

JI Updated by Jason Ish 13 days ago Actions #3

  • Label Needs backport to 8.0 added

OT Updated by OISF Ticketbot 13 days ago Actions #4

  • Subtask #8935 added

OT Updated by OISF Ticketbot 13 days ago Actions #5

  • Label deleted (Needs backport to 8.0)
Actions

Also available in: PDF Atom