Skip to content

Conversation

kulaginm
Copy link
Member

Fix for CVE-2020-14350 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14350)
See also Postgres commit 7eeb1d986.

Thanks to Alexander Lakhin.

@codecov
Copy link

codecov bot commented Oct 27, 2020

Codecov Report

Merging #222 (ef0831a) into master (bf13f4a) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #222 +/- ## ======================================= Coverage 91.87% 91.87% ======================================= Files 40 40 Lines 7052 7052 ======================================= Hits 6479 6479 Misses 573 573 
Impacted Files Coverage Δ
src/partition_creation.c 96.85% <ø> (ø)
src/pathman_workers.c 84.03% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf13f4a...e0171c8. Read the comment docs.

- Explicit casts to ensure exact match to pathman functions instead of pwning ones. - Explicit use of @extschema@ and pg_catalog schemas where possible (except for operators). - Replace unsafe OR REPLACE clause. This is believed to remove the possibility of malicious internal functions overloading. For more information, see the documentation: 37.17.6.2. Security Considerations for Extension Scripts (https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-SECURITY) 5.9.6. Usage Patterns (https://www.postgresql.org/docs/current/ddl-schemas.html#DDL-SCHEMAS-PATTERNS)
@arssher
Copy link
Contributor

arssher commented Nov 8, 2020

I've reworded the readme and commit message bit.

@arssher arssher merged commit c72d688 into postgrespro:master Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants