UNKNOWN WRITE Vulnerability in php_strip_url_passwd

php Updated 02 Oct 2025

Summary

16/11/2023
HIGH
Yes i
High
Not published

OSV-2023-1167: UNKNOWN WRITE in php_strip_url_passwd. Affects php across 2 version ranges.

< daa38dd63e6837ec7e3ecdecf7e7be7b13628f16 >= df286a1b9819fd2a4f3ec57d722f687b4f5eaa6f, < d8e866da04ec5883500332b3d31d5a684188463e

Fixed in d8e866da04ec5883500332b3d31d5a684188463e. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The php package is a popular open-source scripting language widely used for web development. It provides a powerful and flexible platform for creating dynamic websites and applications. This vulnerability affects the php package and specifically the php_strip_url_passwd function. This function is responsible for removing the password component from a URL. However, due to a flaw, an unknown write vulnerability exists in this function, which can lead to unexpected behavior and potential security risks.

Vulnerability Detail

The UNKNOWN WRITE vulnerability in php_strip_url_passwd allows an attacker to perform an unauthorized write operation, potentially leading to memory corruption or other security issues. This vulnerability can be triggered by passing specially crafted input to the php_strip_url_passwd function. Successful exploitation of this vulnerability could result in remote code execution or information disclosure. The vulnerability was discovered through the OSS-Fuzz project and has been assigned a severity rating of HIGH.

How To Fix

Minimum fixed version

d8e866da04ec5883500332b3d31d5a684188463e

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

At present, no known workarounds are available for this vulnerability. It is recommended to apply the official patch or update to a fixed version of the php package as soon as possible.

Conclusion

The UNKNOWN WRITE vulnerability in php_strip_url_passwd poses a significant risk to systems using the php package. It is crucial to update to a fixed version or apply the official patch to mitigate the potential security issues. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for php →

Share this vulnerability

FAQ

This vulnerability can allow an attacker to execute arbitrary code or disclose sensitive information, potentially leading to a compromise of the affected system.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the necessary updates or patches to mitigate the risk.

Yes, this vulnerability can be exploited remotely. An attacker can send specially crafted input to the vulnerable php_strip_url_passwd function, potentially leading to remote code execution or information disclosure.

Yes, the vulnerability has been fixed in the php package. Users are advised to update to a version that includes the patch or commit df286a1b9819fd2a4f3ec57d722f687b4f5eaa6f or a later version.

Related vulnerabilities

Recent vulnerabilities recorded for php.

How To Fix

Minimum fixed version

d8e866da04ec5883500332b3d31d5a684188463e

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback