Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
[
{
"events": [
{
"introduced": "12.0"
},
{
"fixed": "12.21"
}
]
},
{
"events": [
{
"introduced": "13.0"
},
{
"fixed": "13.17"
}
]
},
{
"events": [
{
"introduced": "14.0"
},
{
"fixed": "14.14"
}
]
},
{
"events": [
{
"introduced": "15.0"
},
{
"fixed": "15.9"
}
]
},
{
"events": [
{
"introduced": "16.0"
},
{
"fixed": "16.5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "17.0-NA"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "17.0-beta1"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "17.0-beta2"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "17.0-beta3"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "17.0-rc1"
}
]
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-10977.json"