Skip Navigation

When URL parsers disagree (CVE-2023-38633)

TechNews @radiation.party

When URL parsers disagree (CVE-2023-38633, librsvg)

1 0
netsec @lemmy.world

When URL parsers disagree (CVE-2023-38633)

10 0

You're viewing a single thread.

3 comments
  • @snaggen I think the better lesson than "don't mix URI parses" here is "don't LBYL, rely on EAFP". Many "Look before you leap" (LBYL) schemes are subject to variations of time-of-check/time-of-use errors. It's preferable to not sanitize input, but tell the processor what the policy on processing is; when it comes to a violation, it's easier to ask forgiving (i.e. report the error) than permission (EAFP).