Lucene search

K
freebsdFreeBSD76B5068C-8436-11EB-9469-080027F515EA
HistoryMar 03, 2021 - 12:00 a.m.

OpenSSH -- Double-free memory corruption in ssh-agent

2021-03-0300:00:00
vuxml.freebsd.org
195
openssh
memory corruption
ssh-agent
exploitation
user identity
socket access

CVSS2

4.6

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:S/C:P/I:P/A:P

CVSS3

7.1

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

55.8%

OpenBSD Project reports:

    ssh-agent(1): fixed a double-free memory corruption that was
    introduced in OpenSSH 8.2 . We treat all such memory faults as
    potentially exploitable. This bug could be reached by an attacker
    with access to the agent socket.
  

    On modern operating systems where the OS can provide information
    about the user identity connected to a socket, OpenSSH ssh-agent
    and sshd limit agent socket access only to the originating user
    and root. Additional mitigation may be afforded by the system's
    malloc(3)/free(3) implementation, if it detects double-free
    conditions.
  

    The most likely scenario for exploitation is a user forwarding an
    agent either to an account shared with a malicious user or to a
    host with an attacker holding root access.

CVSS2

4.6

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:S/C:P/I:P/A:P

CVSS3

7.1

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

55.8%