script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescr
script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
- Published
- Dec 31, 2001
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 35th percentile
- CWE
- CWE-59
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| kernel | util-linux | cpe:2.3:a:kernel:util-linux |
| avaya | cvlan | cpe:2.3:a:avaya:cvlan |
| avaya | integrated management suit | cpe:2.3:a:avaya:integrated_management_suit |
| avaya | interactive response | cpe:2.3:a:avaya:interactive_response |
| avaya | intuity lx | cpe:2.3:a:avaya:intuity_lx |
| avaya | message networking | cpe:2.3:a:avaya:message_networking |
| avaya | messaging storage server | cpe:2.3:a:avaya:messaging_storage_server |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- avaya cvlanall versions
- avaya integrated management suitall versions
- avaya interactive responseall versions
- avaya intuity lxall versions
- avaya message networkingall versions
- avaya messaging storage serverall versions
- kernel util-linuxbefore 2.11n
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | util-linux | before 2.11n-1 | 2.11n-1 |
| Red Hat:enterprise_linux:3::as | losetup | before 0:2.11y-31.11 | 0:2.11y-31.11 |
| Red Hat:enterprise_linux:3::as | mount | before 0:2.11y-31.11 | 0:2.11y-31.11 |
| Red Hat:enterprise_linux:3::as | util-linux | before 0:2.11y-31.11 | 0:2.11y-31.11 |
| Red Hat:enterprise_linux:3::as | util-linux-debuginfo | before 0:2.11y-31.11 | 0:2.11y-31.11 |
| Red Hat:enterprise_linux:4::as | util-linux | before 0:2.12a-16.EL4.12 | 0:2.12a-16.EL4.12 |
| Red Hat:enterprise_linux:4::as | util-linux-debuginfo | before 0:2.12a-16.EL4.12 | 0:2.12a-16.EL4.12 |
Same product
kernel: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-5224The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name collision and possibly o40Plan
- CVE-2018-7738In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name31Monitor
- CVE-2016-2779runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the te31Monitor
- CVE-2007-5191mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not check the return values28Monitor
- CVE-2020-21583An issue was discovered in hwclock.13-v2.27 allows attackers to gain escalated privlidges or execute arbitrary commands via the path paramet26Monitor
- CVE-2021-3996A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:util-linux | 2.11n-1 · Debian:12 | Package registry (OSV) |
| red hat:losetup | 0:2.11y-31.11 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:mount | 0:2.11y-31.11 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:util-linux | 0:2.11y-31.11 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:util-linux-debuginfo | 0:2.11y-31.11 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- seclists.org/bugtraq/2001/Dec/0122.html
- seclists.org/bugtraq/2001/Dec/0123.html
- secunia.com/advisories/16785
- secunia.com/advisories/18502
- support.avaya.com/elmodocs2/security/ASA-2006-014.htm
- www.redhat.com/support/errata/RHSA-2005-782.html
- www.securityfocus.com/bid/16280
- exchange.xforce.ibmcloud.com/vulnerabilities/7718
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10723
Vendor advisories and official records. Exploit/PoC links are deliberately left out.