1e41f4b71Sopenharmony_ci# OpenHarmony 3.1.5 Release 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ci## Version Description 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ciOpenHarmony 3.1.5 Release provides enhanced system security over OpenHarmony 3.1.4 Release by rectifying memory leak issues, certain known vulnerabilities in open-source components such as Linux kernel, and system stability issues. It also provides new SDK versions and resolves previewer issues. 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## Version Mapping 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci **Table 1** Version mapping of software and tools 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci| Software/Tool| Version| Remarks| 14e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 15e41f4b71Sopenharmony_ci| OpenHarmony | 3.1.5 Release| NA | 16e41f4b71Sopenharmony_ci| Full SDK | Ohos_sdk_full 3.1.11.5 (API Version 8 Release)| This toolkit is intended for original equipment manufacturers (OEMs) and contains system APIs that require system permissions.<br>To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](../application-dev/faqs/full-sdk-switch-guide.md).| 17e41f4b71Sopenharmony_ci| Public SDK | Ohos_sdk_public 3.1.11.5 (API Version 8 Release)| This toolkit is intended for application developers and does not contain system APIs that require system permissions.<br>It is provided as standard in DevEco Studio 3.0 Beta4 or later.| 18e41f4b71Sopenharmony_ci| (Optional) HUAWEI DevEco Studio| 3.1 Preview for OpenHarmony| Recommended for developing OpenHarmony applications| 19e41f4b71Sopenharmony_ci| (Optional) HUAWEI DevEco Device Tool| 3.0 Release| Recommended for developing OpenHarmony smart devices| 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci## Source Code Acquisition 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci### Prerequisites 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci1. Register your account with Gitee. 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci2. Register an SSH public key for access to Gitee. 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci3. Install the [git client](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and [git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading), and configure user information. 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci ``` 34e41f4b71Sopenharmony_ci git config --global user.name "yourname" 35e41f4b71Sopenharmony_ci git config --global user.email "your-email-address" 36e41f4b71Sopenharmony_ci git config --global credential.helper store 37e41f4b71Sopenharmony_ci ``` 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci4. Run the following commands to install the **repo** tool: 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci ``` 42e41f4b71Sopenharmony_ci curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo # If you do not have the permission, download the tool to another directory and configure it as an environment variable by running the chmod a+x /usr/local/bin/repo command. 43e41f4b71Sopenharmony_ci pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests 44e41f4b71Sopenharmony_ci ``` 45e41f4b71Sopenharmony_ci 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci### Acquiring Source Code Using the repo Tool 48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ci**Method 1 (recommended)** 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ciUse the **repo** tool to download the source code over SSH. (You must have an SSH public key for access to Gitee.) 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ci``` 55e41f4b71Sopenharmony_cirepo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.1.5-Release --no-repo-verify 56e41f4b71Sopenharmony_cirepo sync -c 57e41f4b71Sopenharmony_cirepo forall -c 'git lfs pull' 58e41f4b71Sopenharmony_ci``` 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci**Method 2** 61e41f4b71Sopenharmony_ci 62e41f4b71Sopenharmony_ciUse the **repo** tool to download the source code over HTTPS. 63e41f4b71Sopenharmony_ci 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci``` 66e41f4b71Sopenharmony_cirepo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-v3.1.5-Release --no-repo-verify 67e41f4b71Sopenharmony_cirepo sync -c 68e41f4b71Sopenharmony_cirepo forall -c 'git lfs pull' 69e41f4b71Sopenharmony_ci``` 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci 72e41f4b71Sopenharmony_ci### Acquiring Source Code from Mirrors 73e41f4b71Sopenharmony_ci 74e41f4b71Sopenharmony_ci**Table 2** Mirrors for acquiring source code 75e41f4b71Sopenharmony_ci 76e41f4b71Sopenharmony_ci| Source Code| Version| Mirror| SHA-256 Checksum| 77e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | 78e41f4b71Sopenharmony_ci| Full code base (for mini, small, and standard systems)| 3.1.5 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/OpenHarmony-v3.1.5-Release.tar.gz)| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/OpenHarmony-v3.1.5-Release.tar.gz.sha256) | 79e41f4b71Sopenharmony_ci| Hi3516 standard system solution (binary)| 3.1.5 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/standard_hi3516.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/standard_hi3516.tar.gz.sha256)| 80e41f4b71Sopenharmony_ci| RK3568 standard system solution (binary)| 3.1.5 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/standard_rk3568.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/standard_rk3568.tar.gz.sha256)| 81e41f4b71Sopenharmony_ci| Hi3861 mini system solution (binary)| 3.1.5 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/hispark_pegasus.tar.gz)| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/hispark_pegasus.tar.gz.sha256) | 82e41f4b71Sopenharmony_ci| Hi3516 small system solution - LiteOS (binary)| 3.1.5 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/hispark_taurus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/hispark_taurus.tar.gz.sha256) | 83e41f4b71Sopenharmony_ci| Hi3516 small system solution - Linux (binary)| 3.1.5 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/hispark_taurus_linux.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/hispark_taurus_linux.tar.gz.sha256) | 84e41f4b71Sopenharmony_ci| Full SDK package for the standard system (macOS)| 3.1.11.4 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-mac-full.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-mac-full.tar.gz.sha256) | 85e41f4b71Sopenharmony_ci| Full SDK package for the standard system (Windows/Linux)| 3.1.11.4 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-full.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-full.tar.gz.sha256) | 86e41f4b71Sopenharmony_ci| Public SDK package for the standard system (macOS)| 3.1.11.4 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-mac-public.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-mac-public.tar.gz.sha256) | 87e41f4b71Sopenharmony_ci| Public SDK package for the standard system (Windows/Linux)| 3.1.11.4 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-public.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.5/ohos-sdk-public.tar.gz.sha256) | 88e41f4b71Sopenharmony_ci 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ci## Change History 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ciThis version has the following updates to OpenHarmony 3.1.4 Release. 93e41f4b71Sopenharmony_ci 94e41f4b71Sopenharmony_ci 95e41f4b71Sopenharmony_ci### Feature Update 96e41f4b71Sopenharmony_ci 97e41f4b71Sopenharmony_ciThis version does not involve feature updates. 98e41f4b71Sopenharmony_ci 99e41f4b71Sopenharmony_ci### API Updates 100e41f4b71Sopenharmony_ci 101e41f4b71Sopenharmony_ciThis version does not involve API updates. 102e41f4b71Sopenharmony_ci 103e41f4b71Sopenharmony_ci 104e41f4b71Sopenharmony_ci 105e41f4b71Sopenharmony_ci### Chip and Development Board Adaptation 106e41f4b71Sopenharmony_ci 107e41f4b71Sopenharmony_ciFor details about the adaptation status, see [SIG_DevBoard](https://gitee.com/openharmony/community/blob/master/sig/sig_devboard/sig_devboard.md). 108e41f4b71Sopenharmony_ci 109e41f4b71Sopenharmony_ci 110e41f4b71Sopenharmony_ci### Resolved Issues 111e41f4b71Sopenharmony_ci 112e41f4b71Sopenharmony_ci**Table 3** Resolved issues 113e41f4b71Sopenharmony_ci 114e41f4b71Sopenharmony_ci| Subsystem | Description | 115e41f4b71Sopenharmony_ci| -------------- | ------------------------------------------------------------ | 116e41f4b71Sopenharmony_ci| SDK subsystem | Certain issues related to the previewer. | 117e41f4b71Sopenharmony_ci| Network management subsystem| The exception stack libconnection.z.so occurs in thread 1.ui of the com.ohos.netmanagersocket process. ([I5IXWZ](https://gitee.com/openharmony/communication_netmanager_base/issues/I5IXWZ))| 118e41f4b71Sopenharmony_ci| Misc subsystem | There is a possibility that the **complete** event is not reported when **request.download** is called. ([I5WZC6](https://gitee.com/openharmony/request_request/issues/I5WZC6))| 119e41f4b71Sopenharmony_ci| DFX subsystem | There is a low probability that cpp_crash occurs in hdcd. ([I65P94](https://gitee.com/openharmony/developtools_hdc/issues/I65P94))| 120e41f4b71Sopenharmony_ci| ArkUI development framework | The universal attributes of the focusable component are abnormal. ([I64YLA](https://gitee.com/openharmony/arkui_ace_engine/issues/I64YLA))| 121e41f4b71Sopenharmony_ci 122e41f4b71Sopenharmony_ci 123e41f4b71Sopenharmony_ci 124e41f4b71Sopenharmony_ci 125e41f4b71Sopenharmony_ci### Fixed Security Vulnerabilities 126e41f4b71Sopenharmony_ci 127e41f4b71Sopenharmony_ci**Table 4** Fixed security vulnerabilities 128e41f4b71Sopenharmony_ci 129e41f4b71Sopenharmony_ci| Issue No.| Description| PR Link| 130e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 131e41f4b71Sopenharmony_ci| I5UHSG | Security vulnerability of the das u-boot component: CVE-2022-2347| [PR](https://gitee.com/openharmony/third_party_u-boot/pulls/62) | 132e41f4b71Sopenharmony_ci| I5UI3F/I5VGDV | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-3303, CVE-2022-42703, CVE-2022-20422, CVE-2022-41222, CVE-2022-3239, CVE-2022-20423 and CVE-2022-41850 | [PR](https://gitee.com/openharmony/third_party_expat/pulls/23) | 133e41f4b71Sopenharmony_ci| I5XU3W | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-3586, CVE-2022-3625, CVE-2022-42432, CVE-2022-3633, CVE-2022-3635, CVE-2022-3629, CVE-2022-3623, CVE-2022-3646, CVE-2022-3621, CVE-2022-3567, CVE-2022-43750, CVE-2022-3545, CVE-2022-2978, CVE-2022-3523, CVE-2022-2602, and CVE-2022-3628| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/541) | 134e41f4b71Sopenharmony_ci| I5XUCJ | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-40768, CVE-2022-3577, CVE-2022-20409, CVE-2022-3566, CVE-2022-3606, CVE-2022-3564 and CVE-2022-3649| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/505) | 135e41f4b71Sopenharmony_ci| I5VGIU | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-3169| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/553) | 136e41f4b71Sopenharmony_ci| I63VFW | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-41858| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/569) | 137e41f4b71Sopenharmony_ci| I63VG7 | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-45934, CVE-2022-4129, CVE-2022-4378, CVE-2022-3108, CVE-2022-47518, CVE-2022-47521, CVE-2022-47519, and CVE-2022-47520| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/586) | 138e41f4b71Sopenharmony_ci| I66ZCI | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-3105, CVE-2022-3104, CVE-2022-3115, CVE-2022-3113, and CVE-2022-3112 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/579) | 139e41f4b71Sopenharmony_ci| I66ZHX | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-3111| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/584) | 140e41f4b71Sopenharmony_ci| I66ZKM | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-3107| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/590) | 141e41f4b71Sopenharmony_ci| I65T2H | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-20566| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/582) | 142e41f4b71Sopenharmony_ci| I61HGX | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-42895 and CVE-2022-42896| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/545) | 143e41f4b71Sopenharmony_ci| I652LY | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-4139| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/567) | 144e41f4b71Sopenharmony_ci| I65R2K | Security vulnerability of the python component: CVE-2022-42919| [PR](https://gitee.com/openharmony/third_party_python/pulls/36) | 145e41f4b71Sopenharmony_ci| I65R59 | Security vulnerability of the python component: CVE-2022-45061| [PR](https://gitee.com/openharmony/third_party_python/pulls/37) | 146e41f4b71Sopenharmony_ci| I65UJ8 | Security vulnerability of the python component: CVE-2022-45061| [PR](https://gitee.com/openharmony/third_party_python/pulls/35) | 147e41f4b71Sopenharmony_ci| I60GOT | Security vulnerability of the pixman component: CVE-2022-37454| [PR](https://gitee.com/openharmony/third_party_pixman/pulls/11) | 148e41f4b71Sopenharmony_ci| I5Z39U | Security vulnerabilities of the curl component: CVE-2022-32221, CVE-2022-42915, and CVE-2022-42916| [PR](https://gitee.com/openharmony/third_party_curl/pulls/91) | 149e41f4b71Sopenharmony_ci| I61I8F | Security vulnerability of the ntfs-3g component: CVE-2022-40284| [PR](https://gitee.com/openharmony/third_party_ntfs-3g/pulls/33) | 150e41f4b71Sopenharmony_ci| I63V9Z | Security vulnerabilities of the libxml2 component: CVE-2022-40303 and CVE-2022-40304| [PR](https://gitee.com/openharmony/third_party_libxml2/pulls/31) | 151