-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Snyk] Upgrade @nextcloud/upload from 1.1.1 to 1.4.3 #19
base: master
Are you sure you want to change the base?
[Snyk] Upgrade @nextcloud/upload from 1.1.1 to 1.4.3 #19
Conversation
Snyk has created this PR to upgrade @nextcloud/upload from 1.1.1 to 1.4.3. See this package in npm: @nextcloud/upload See this project in Snyk: https://app.snyk.io/org/jc-network-projects/project/0beca810-6aea-4905-bab5-b98a8271c6ce?utm_source=github&utm_medium=referral&page=upgrade-pr
Micro-Learning Topic: Server-side request forgery (Detected by phrase)Matched on "Server-side Request Forgery"Server-Side Request Forgery (SSRF) vulnerabilities are caused when an attacker can supply or modify a URL that reads or sends data to the server. The attacker can create a malicious request with a manipulated URL, when this request reaches the server, the server-side code executes the exploit URL causing the attacker to be able to read data from services that shouldn't be exposed. Try a challenge in Secure Code Warrior |
Server-Side Request ForgeryPlay Labs on this vulnerability with SecureFlag! DescriptionServer-Side Request Forgery (SSRF) attacks are a type of security vulnerability wherein a malicious actor can manipulate a parameter on the web application to create or control requests from a vulnerable server. These attacks are often used by attackers to target internal systems that are inaccessible from the external network due to the use of a firewall. The most common case is a server application that, to implement a feature, performs HTTPS requests to a third-party server. This request may be needed to: consume an Internet API, download a package or retrieve user information via a social account (e.g., Facebook, Gravatar). An attacker might abuse the feature to perform requests to another third party or profit from the server's privileges regarding the original third-party system (e.g., to exfiltrate data). In essence, SSRF attacks exploit one of the foundations of robust security, trust, by exploiting existing trust relationships to escalate attacks from applications against other back-end systems or even the server itself. Read moreImpactA successful SSRF attack can enable a malicious attacker to escalate and laterally move their way behind the firewall in the back-end web server without restriction, leading to the potential full compromise of confidentiality, integrity, and availability of the application. The fallout from attacks that have successfully executed SSRF as part of their toolkit will be as extreme as the amount of data at risk. In the case of the infamous 2019 Capital One hack, the numbers speak for themselves: the compromised data included names, addresses, phone numbers, self-reported income, credit scores, and payment histories, among other personal information belonging to approximately 100 million customers in the United States (that is roughly 1/3 of the population) and 6 million customers in Canada. As with so many issues in security, human error undoubtedly played a part in the above example, as the genesis of the breach entry was a misconfigured firewall. ScenariosUsually, client web requests are performed through language functions that support defined classes of protocols, such as HTTP, and make their use very simple for the developer. According to the way the vulnerable request is implemented on the server side, the attacker might be able to reach another website. An attacker can even change the protocol and, for example, use the SSRF attacks remain quite powerful due to firewalls and network security; an attacker able to forge an arbitrary request through the server will benefit from the server's physical/logical position and the active firewall rules. A network resource that is invisible and forbidden to the attacker might be available when the request is executed from the server. A common example is a management server hidden to the outside world but allowed from the server, as it might manage its updates or monitor its usage. Lastly, attackers can monitor the average elapsed time for SSRF directed to open TCP ports and compare it to requests directed to closed or filtered TCP ports. By submitting a fairly small amount of requests, an attacker can map the network and discover open and closed ports that could be the target of further attacks. PreventionIf a list of permitted URLs is known, developers should implement a hostname or IP address allow list for the application. The URLs should never be validated against a deny list; this approach is prone to get easily circumvented using a number of well-known techniques. Developers should disable unused URL schemas if HTTP and HTTPS are the only active protocols the application utilizes to make requests. To reduce the risk of an attacker taking advantage of response data leakage, the developer must ensure that, when sending a request to another server, the raw response is never returned as-is to the client application. When SSRF happens, the main defense-in-depth approach is to lower the trust in the server. This can usually be implemented through firewall rules at the inbound end (e.g., the other server receiving the request), but it's much harder to implement firewall rules at the outbound end due to the nature of TCP. TestingVerify that the application protects against SSRF attacks by validating or sanitizing untrusted data or HTTP file metadata, such as filenames and URL input fields, and that it uses allow lists for protocols, domains, paths, and ports.
|
Snyk has created this PR to upgrade @nextcloud/upload from 1.1.1 to 1.4.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 6 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-AXIOS-7361793
Release notes
Package name: @nextcloud/upload
v1.4.3 (2024-08-07)
Fixed
What's Changed
Full Changelog: v1.4.2...v1.4.3
v1.4.2 (2024-07-11)
Full Changelog
Fixed
Changed
v1.4.1 (2024-06-24)
Fixed
v1.4.0 (2024-06-21)
Full Changelog
Added
Fixed
isPublic
detection for uploader #1234 (susnux)Changed
getUniqueName
from@ nextcloud/files
#1244 (susnux)@ nextcloud/files
and@ nextcloud/sharing
#1245 (susnux)v1.3.0 (2024-06-06)
Full Changelog
Added
Changed
v1.2.0 (2024-05-23)
Full Changelog
Added
FileSystemEntry
by @ susnux in #1166upload
new
and other by @ susnux in #1206Fixed
getUploader
by @ susnux in #1207Changed
v1.1.1 (2024-04-15)
Full Changelog
🐛 Fixed bugs
Changed
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: