When sed is invoked with both -i (in-place edit) and –follow-symlinks, the function open_next_file() performs two separate, non-atomic filesystem operations on the same path:
This issue was fixed in version 4.10.
The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Hardened Images | RedHat | sed-main-4.10-1.hum1 | * |
| Sed | Ubuntu | devel | * |
| Sed | Ubuntu | esm-infra/bionic | * |
| Sed | Ubuntu | esm-infra/focal | * |
| Sed | Ubuntu | esm-infra/xenial | * |
| Sed | Ubuntu | jammy | * |
| Sed | Ubuntu | noble | * |
| Sed | Ubuntu | questing | * |
| Sed | Ubuntu | resolute | * |