mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-29 01:31:01 +00:00
18 lines
921 B
Markdown
18 lines
921 B
Markdown
### [CVE-2021-28153](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28153)
|
|

|
|

|
|

|
|
|
|
### Description
|
|
|
|
An issue was discovered in GNOME GLib before 2.66.8. When g_file_replace() is used with G_FILE_CREATE_REPLACE_DESTINATION to replace a path that is a dangling symlink, it incorrectly also creates the target of the symlink as an empty file, which could conceivably have security relevance if the symlink is attacker-controlled. (If the path is a symlink to a file that already exists, then the contents of that file correctly remain unchanged.)
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://gitlab.gnome.org/GNOME/glib/-/issues/2325
|
|
|
|
#### Github
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
|