The to_char function in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allows remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow.
{
"binaries": [
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "libecpg-compat3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "libecpg-dev"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "libecpg6"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "libpgtypes3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "libpq-dev"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "libpq5"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-client-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-contrib-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-doc-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-plperl-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-plpython-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-plpython3-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-pltcl-9.3"
},
{
"binary_version": "9.3.6-0ubuntu0.14.04",
"binary_name": "postgresql-server-dev-9.3"
}
],
"availability": "No subscription required"
}