Remix.run Logo
▲ RetroTechie an hour ago

I've always wondered: if you take the cause of each CVE, look at underlying cause of that & repeat, how many essential root problems would you be left with?

"Can't do math" (off-by-1 errors etc)

"Sanitize your inputs" (escape sequences, parsing etc)

"What are you referencing?" (null pointers, use-after-free etc)

and error handling. Plain error codes bubbling up a call stack, or bypassing that somehow which may violate program structure.

How many of these fundamental issues are there?

▲chias 25 minutes ago | parent | next [-]

Boil it down enough and you get four:

1. Failure to differentiate data from instructions

2. Business logic flaws

3. Insecure operating environment

4. Incorrect use of cryptography

▲ an hour ago | parent | prev | next [-]
[deleted]
▲Waterluvian an hour ago | parent | prev [-]

“In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.”