Skip to content

Upgrade gradle to fix security vulnerabilities #138336

Closed

Description

@ZorinFoss

Is there an existing issue for this?

Use case

Hi,

The current gradle version in flutter v3.13.9 is 7.6.1 which contain security vulnerabilities.

Proposal

Upgrade gradle to v7.6.3 or even v8.4 if it possible

Activity

  1. added
    in triagePresently being triaged by the triage team
    platform-androidAndroid applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    t: gradle"flutter build" and "flutter run" on Android
    c: proposalA detailed proposal for a change to Flutter
    team-androidOwned by Android platform team
    and removed
    in triagePresently being triaged by the triage team
    on Nov 13, 2023
  2. reidbaker commented on Nov 13, 2023

    @reidbaker
    Member

    Can you elaborate on the security risk so we can understand the urgency?

  3. ZorinFoss commented on Nov 14, 2023

    @ZorinFoss
    Author

    Greadle v7.6.3

    fix these security vulnerabilities:

    Incorrect permission assignment for symlinked files used in copy or archiving operations
    Possible local text file exfiltration by XML External entity injection

    It also fixes the following issues:

    gradle/gradle#25781 Backport finalized task performance fix to 7.6.x
    gradle/gradle#25802 Backport cgroups fix to 7.6.x

    Gradle v7.6.2

    fix these security vulnerabilities:

    Dependency cache path traversal
    Path traversal vulnerabilities in handling of Tar archives

    It also fixes the following issues:

    gradle/gradle#23201 Backport dependency upgrades to 7.x
    gradle/gradle#23202 Backport Scala incremental compilation fixes
    gradle/gradle#23325 Backport JSoup update to resolve GHSA-gp7f-rwcx-9369
    gradle/gradle#23458 Backport JUnit5 dynamic test logging bug fix
    gradle/gradle#23681 Dependency graph resolution: Equivalent excludes can cause un-necessary graph mutations [backport 7.x]
    gradle/gradle#23922 Backport "Use Compiler API data for incremental compilation after a failure" to 7.x
    gradle/gradle#23951 Exclude rule merging: missing optimization [Backport 7.x]
    gradle/gradle#24132 Extending an already resolved configuration no longer works correctly [backport 7.x]
    gradle/gradle#24234 7.6.1 breaks gradle-consistent-versions
    gradle/gradle#24390 Gradle 7.4 fails on multi release jar's with JDK 19 code
    gradle/gradle#24439 Gradle complains about invalid tool chain - picking up the source package location - it should just ignore them [Backport]
    gradle/gradle#24443 Maven artifact referenced only in dependency constraints raises IllegalStateException: Corrupt serialized resolution result [backport]
    gradle/gradle#24901 Backport fix for test exception that cannot be deserialized to 7.x

  4. added
    P1High-priority issues at the top of the work list
    triaged-androidTriaged by Android platform team
    on Nov 16, 2023
  5. camsim99 commented on Dec 15, 2023

    @camsim99
    Contributor
  6. github-actions commented on Jan 1, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: proposalA detailed proposal for a change to Flutterinfra: securitySecurity-related infra issuesplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versiont: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions