logoalt Hacker News

jerf • today at 2:50 AM • 3 replies • view on HN

So, uh, like, any word on what the "9.8" actually means? Is this "an obscure feature nobody has on could with a bit of luck and a cosmic ray strike allow arbitrary code execution if you're one of the few people using it" or is this "if you have a socket with OpenSSL exposed to the internet you're already compromised" or what?


Replies

fulafel • today at 6:15 AM

This was possibly a rhetorical question but apparently it goes something like this - just a simple formula someone came up with that tries to model badness:

  # Hardcoded weights for AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  attack_vector = 0.85        # Network
  attack_complexity = 0.77    # Low
  privileges_required = 0.85  # None
  user_interaction = 0.85     # None
 
  confidentiality = 0.56      # High
  integrity = 0.56            # High
  availability = 0.56         # High

  impact_sub_score = 1 - (1 - confidentiality) \* (1 - integrity) \* (1 -  availability)  # -> 0.91 
  impact = 6.42 \* impact_sub_score                                                       # -> 5.87

  exploitability = (
    8.22 \* attack_vector \* attack_complexity \* privileges_required \* user_interaction)  # -> 3.88

  score = impact + exploitability                      # -> 9.76
(using Github's values from https://github.com/advisories/GHSA-83xj-7xh4-4p7x)

Interesting that the impact calculation treats C, I, A as equal. And of course a lot of those inputs are just human(?) supplied vibes and/or context dependent in your use case.

➕ show 2 replies
pixl97 • today at 3:08 AM

So this might be very similar to Java4shell, though will need to be verified.

This is another base64 encoder where it takes a blob and coverts it to base64. I'm assuming an attacker control bit of data could be passed to the function which then overflows. Not sure if it can attempt to control a valid address or not, but unlocked AI likely could pretty quick.

Geezus_42 • today at 10:13 AM

Since no enterprise distro has shipped OpenSSL 4 yet, it will only be an issue if you are running an upstream distro on a personal machine.

➕ show 1 reply