CVE-2007-6067: Medium severity PostgreSQL postgresql vulnerability

Published Nov 27, 2007
·
Updated

Algorithmic complexity vulnerability in the regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0 before 8.0.15, and 7.4 before 7.4.19, allows remote authenticated users to cause a denial of service (memory consumption) via a crafted "complex" regular expression with doubly-nested states.

Other sources

Will Drewry reported a problem in a regular expression handling code used by PosgreSQL. This problem can be used to trigger temporary DoS attack by causing PosgreSQL server to consume large amount of system memory and CPU resources.

On systems with memory overcommit enabled (default setting), database server can be terminated by kernel OOM killer (see 'Managing Kernel Resources' section in PosgreSQL documentation about more information on memory overcommit configuration on Linux).

Regular expression code used by PosgreSQL was adopted from TCL.

— Red Hat

Affected Software

58 affected componentsFixes available
PostgreSQL postgresql=7.3
PostgreSQL postgresql=7.3.1
PostgreSQL postgresql=7.3.2
PostgreSQL postgresql=7.3.3
PostgreSQL postgresql=7.3.4
PostgreSQL postgresql=7.3.6
PostgreSQL postgresql=7.3.8
PostgreSQL postgresql=7.3.9
PostgreSQL postgresql=7.3.10
PostgreSQL postgresql=7.3.11
PostgreSQL postgresql=7.3.12
PostgreSQL postgresql=7.3.13
PostgreSQL postgresql=7.3.14
PostgreSQL postgresql=7.3.15
PostgreSQL postgresql=7.3.16
PostgreSQL postgresql=7.3.19
PostgreSQL postgresql=7.4
PostgreSQL postgresql=7.4.1
PostgreSQL postgresql=7.4.2
PostgreSQL postgresql=7.4.3
PostgreSQL postgresql=7.4.4
PostgreSQL postgresql=7.4.5
PostgreSQL postgresql=7.4.6
PostgreSQL postgresql=7.4.7
PostgreSQL postgresql=7.4.8
PostgreSQL postgresql=7.4.9
PostgreSQL postgresql=7.4.10
PostgreSQL postgresql=7.4.11
PostgreSQL postgresql=7.4.12
PostgreSQL postgresql=7.4.13
PostgreSQL postgresql=7.4.14
PostgreSQL postgresql=7.4.16
PostgreSQL postgresql=7.4.17
PostgreSQL postgresql=8.0
PostgreSQL postgresql=8.0.1
PostgreSQL postgresql=8.0.2
PostgreSQL postgresql=8.0.3
PostgreSQL postgresql=8.0.4
PostgreSQL postgresql=8.0.5
PostgreSQL postgresql=8.0.7
PostgreSQL postgresql=8.0.8
PostgreSQL postgresql=8.0.9
PostgreSQL postgresql=8.0.11
PostgreSQL postgresql=8.0.13
PostgreSQL postgresql=8.0.317
PostgreSQL postgresql=8.1.1
PostgreSQL postgresql=8.1.3
PostgreSQL postgresql=8.1.4
PostgreSQL postgresql=8.1.5
PostgreSQL postgresql=8.1.7
PostgreSQL postgresql=8.1.8
PostgreSQL postgresql=8.1.9
PostgreSQL postgresql=8.2
PostgreSQL postgresql=8.2.2
PostgreSQL postgresql=8.2.3
PostgreSQL postgresql=8.2.4
Tcl Tk Tcl Tk<=8.4.16
redhat/8.2.6<1.
1.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/8.2.6 to a version that resolves this vulnerability.

    Fixed in 1.
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.4.17
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.2.6
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.1.11
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.15
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.4.19

Event History

Nov 27, 2007
Data Sourced
via Red Hat·01:23 PM
DescriptionSeverityAffected Software
Jan 9, 2008
CVE Published
via MITRE·09:00 PM
CVE Published
09:46 PM
Data Sourced
09:46 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·09:46 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 10, 2008
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Oct 15, 2018
Data Sourced
09:49 PM
RemedySeverity

Frequently Asked Questions

1

What is the severity of CVE-2007-6067?

CVE-2007-6067 has a Medium severity level due to its potential to cause denial of service through memory consumption.

2

How do I fix CVE-2007-6067?

To fix CVE-2007-6067, upgrade to PostgreSQL version 8.2.6 or later, or Tcl version 8.4.17 or later.

3

Which software is affected by CVE-2007-6067?

CVE-2007-6067 affects various versions of PostgreSQL prior to 8.2.6 and Tcl versions up to 8.4.16.

4

What type of vulnerability is CVE-2007-6067?

CVE-2007-6067 is an algorithmic complexity vulnerability in the regular expression parser.

5

Can CVE-2007-6067 be exploited remotely?

Yes, CVE-2007-6067 can be exploited by remote authenticated users to trigger a denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203